Forum > Networking and Web Programming
Code for scanning systems attached to network
vfclists:
I am looking for some code which can scan a network range for address, and obtain the MAC addresses of those that respond.
I am looking for code which works like http://www.radmin.com/products/utilities/ipscanner.php
Is there some code snippet or component for this?
Almindor:
You can use lNet's UDP broadcast for basic "find computers on the network". I use this in Lentilwars to find server on the LAN.
vfclists:
Do you have some sample code for this?
Looking in Lentilwars should be interesting.
Almindor:
Well lNet doesn't provide IP-scanner functionality per-se. What I mean is cooperative server discovery over LAN where the server waits for udp packets on a set port and the looking clients broadcast them on the same port. When the server gets them it replies to the clients directly and they get the IP this way.
vfclists:
Can it be used to scan the network like an ip scanner tool, in some kind of threaded manner?
I am writing software that needs to identify devices via their MAC addresses as the DHCP assigned addresses may change.
Navigation
[0] Message Index
[#] Next page