Sending ECHO_REQUEST (pinging) with python

Thomas Dybdahl Ahle lobais at gmail.com
Mon Mar 26 02:30:16 EDT 2007


Hi, I've writing a python application in which I'd like to have a small 
"ping label", to always tell the current ping time to the server.

It seems however that I have to be root to send those imcp packages, but 
I guess there must be a workaround since I can easily use the "ping" 
command as ordinary user.

Do anybody know how to do this in python?



More information about the Python-list mailing list