How to list all computer in a network?
Hi, I'm a newbie in this forum but I have a question...
What are the possibilities to list all computer in a network?
I've already wrote a program and it does what it should do but it's really inefficiently. It checks all IP-addresses between two IP's if they're reachable with isReachable(). I had to set the timeout to 2000ms and you can imagine how long it takes to check a whole class C net.
So far I know is isReachable() implemented by the ECHO-protocol.
Can I send a request to broadcast and every active PC answers to it? Is that possible? Or what about ARP, NetBios/SMB, LLMNR?
Anyone has an idea?
I hope you can help me!