[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: How to broad cast ping address.......

Steve Holden

2/12/2008 1:26:00 AM

Gabriel Genellina wrote:
> En Mon, 11 Feb 2008 13:31:56 -0200, Manikandan R <mani.agape@gmail.com>
> escribi�:
>
>> I am working in Python scripting. I an need to find out all the
>> device
>> connected in the network. Just I planned to broad cast the ping address
>> and
>> use the ARP table to get the IP address of the system in the network.
>> As, I
>> am working in Win XP i am not able to use ping -b command to broad cast.
>
> The simplest approach is to enumerate and ping each and every address in
> your subnet and wait for the response, but consider that some hosts may
> have been configured to not answer (and assuming you don't have a /8
> network...)
> There is an ICMP library in the Python cookbook
> http://aspn.activestate.com/ASPN/Pytho... and you can search the
> Package Index too: http://pypi....
>
Don't I remember Microsoft withdrawing access to the raw packet driver
on Windows XP, or was thing something they decided to ruin in Vaster?

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.hold...