all ip addresses of machines in the local network

John Bokma john at castleamber.com
Thu Aug 24 00:59:05 EDT 2006


"damacy" <wegein at gmail.com> 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?

google for nmap, don't reinvent the wheel.


-- 
John                               MexIT: http://johnbokma.com/mexit/
                           personal page:       http://johnbokma.com/
        Experienced programmer available:     http://castleamber.com/
            Happy Customers: http://castleamber.com/testimonials.html



More information about the Python-list mailing list