How can I find out the IPs of all the currently active machines on my LAN? How can I write a general program which will work on any subnet?
I'm doing this currently:
- Trying if isReachable() reaches all the machins on my subnet.
- If they do, store their IP addresses.
Is there anyway to do this other that manually enter subnet mask(increment the IP addresse) and hence reach all the machines(and thus get their IPs)?