python and LAN
Thomas Guettler
guettli at thomas-guettler.de
Mon Jan 5 10:09:42 EST 2004
Am Sat, 03 Jan 2004 20:16:09 +1000 schrieb Egor Bolonev:
> Hello, All!
>
> I wish to write a programs for LAN, but I don't know where to begin.
>
> For example I have to get a hostlist of my network:
> ...
> 192.168.1.35 acca
> 192.168.3.38 alligator
What operating system do you use?
Some systems answer ping to the
broadcast address, but not all
ping 255.255.255.255
If you network is not switched, you
can listen to the wire by setting
the ethernet card to promiscuous mode.
Google for tcpdump.
But this has nothing to do with python.
thomas
More information about the Python-list
mailing list