How to broad cast ping address.......

Steve Holden steve at
Tue Feb 12 02:26:14 CET 2008

Gabriel Genellina wrote:
> En Mon, 11 Feb 2008 13:31:56 -0200, Manikandan R <mani.agape at>  
> 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  
> and you can search the  
> Package Index too:
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?

Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC    

More information about the Python-list mailing list