Module for ping
Matthew Dixon Cowles
matt at mondoinfo.com
Mon Sep 4 01:48:36 EDT 2000
On Sun, 03 Sep 2000 23:24:56 -0600, Kevin Breit
<battery841 at remove.for.no.spam.mypad.com> wrote:
> Hey,
> I am curious if there are any modules for sending pings. I can
> always run the system call, but I'd much prefer to be able to sit
> down and have it run native Python code to ping.
Kevin,
If you're using Unix you may find my ping.py useful. It's at:
ftp://ftp.visi.com/users/mdc/ping.py
It's pretty primitive but you can probably make it do what you
want. It requires root priviliges to open the raw socket.
Regards,
Matt
More information about the Python-list
mailing list