Hi People
I am working on a Messenger prepared in JAVA (Backend). I need something, some code that would help in finding the IP Address of the active computers on LAN.
Thanz
Arvind
Hi People
I am working on a Messenger prepared in JAVA (Backend). I need something, some code that would help in finding the IP Address of the active computers on LAN.
Thanz
Arvind
Just b Crazy abt Life and Programming.....
If you ping the multicast address of the local LAN (which has the last client ID) every client will respond:
Example:
My IP address is 10.250.2.237 with 255.255.0.0 as netmask.
Thus, the multicast address for this network is 10.250.255.255
When I ping the multicast address, every client switched on will answer (although Windows' ping program will only show the first).
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
If you use a packet sniffer you will see every client that responds to the echo request.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling