How to write a ping client

Martin Bless m.bless at gmx.de
Tue Feb 22 17:29:37 EST 2005


On 21 Feb 2005 18:35:06 -0800, "Harlin" <harlinseritt at yahoo.com>
wrote:

>Is there a way to write a ping client? I would like to be able to write
>a small ping client so that I dont have to do os.system('ping args')

I once followed the same line and used a py module by Jeremy Hylton if
I remember correctly. 

But only to find that on the Linux machine I wasn't allowed as non
root to ping from my script. So I went back to the os.system() call.

mb - Martin




More information about the Python-list mailing list