Anyone could you please help me to list the name of all computers connected to the LAN with JAVA?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One way you could solve this without using outside system calls would be to try every single possible IP address.
Iterate over addresses, sending data to each one using something like this…
Any responses you get would indicate an active IP. You will be a limited by your subnet in this approach, however.