Detecting computers on network

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Jul 22 03:59:15 EDT 2005


linuxfreak enlightened us with:
> How about sending an ICMP echo packet to your broadcast address and
> checking which hosts send a reply

Won't work on all boxes. Windows boxes ignore broadcast pings, for
example.

I'd go for a call to "nmap -sP" instead, and filter it's output.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list