Module for ping

Kevin Breit battery841 at
Mon Sep 4 20:03:09 CEST 2000

In article <slrn8r6dtk.nq.matt at>,
matt at (Matthew Dixon Cowles) wrote:
> On Sun, 03 Sep 2000 23:24:56 -0600, Kevin Breit
> <battery841 at> 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 useful. It's at:
> It's pretty primitive but you can probably make it do what you want. It
> requires root priviliges to open the raw socket.
Hmmm...okay.  Now, how do I use this?  I am kinda new at Python.  What is
the syntax to use in the .py app that I am writing to call and use your
stuff.  Granted, it's the basic import and then, but
what is the actual usage for your app? Thanks kevin

More information about the Python-list mailing list