Anyone have idea how can find available IP addresses in a network using any protocol?
UDP broadcasting is one way. But in this case every one should have a listener app?
Please suggest if have any other way?
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.
You could send ICMP pings to the broadcast network address. For example, if your interface IP is in the 192.168.0.0/24 network, you would send pings to 192.168.0.255 –
However to send ICMP ping from an application, you’ll need to open raw sockets & thus you’ll need root permissions. The ping program on most OSes are setuid root programs, so they can be invoked by any user.