How to write a ping client

H

Harlin

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')
and thereby keep the resource overhead low. Does anyone know how this
can be done or can point me in the right direction?

thanks,

Harlin
 
H

Harlin

whoa... this is not in the standard library, is it? I never knew this
was out there. Thanks!

Please use your powers for good (the one about halting production on
teenage sex comedies :)
 
M

Martin Bless

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,221
Messages
2,571,131
Members
47,747
Latest member
swapote

Latest Threads

Top