[BangPypers] checking return status of 'ping' in windows
Nikunj Badjatya
nikunjbadjatya at gmail.com
Mon Jan 23 16:43:13 CET 2012
Thanks for all the useful info ppl.
I am using .communicate() and then using re to match for the phrases.
On Mon, Jan 23, 2012 at 2:11 PM, Sanjay Padubidri <sanjaypadubidri at gmail.com
> wrote:
> > Python implementation of ping that Noufal suggested is better, I think.
>
> Python Ping has the problem that you need root permission - any program
> that uses raw sockets has this issue. Another option is to try opening a
> socket to port 9 (the discard port).
>
> -Sanjay
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
More information about the BangPypers
mailing list