all ip addresses of machines in the local network

Sandra-24 sandravandale at yahoo.com
Thu Aug 24 00:22:51 EDT 2006


damacy wrote:
> hi, there. i have a problem writing a program which can obtain ip
> addresses of machines running in the same local network.
>
> say, there are 4 machines present in the network; [a], [b], [c] and [d]
> and if i run my program on [a], it should be able to find "host names"
> and "ip addresses" of the other machines; [b], [c] and [d]?
>
> i have read some threads posted on this group, however, they only work
> for localhost, not the entire network.
>
> any hints if possible?
>
> thanks for your time.
>
> regards, damacy

What is this for? Some kind of high availablity server setup? I don't
know anything that would be useful to you, but I am curious, and maybe
it will clarify your intentions for others.

-Sandra




More information about the Python-list mailing list