Find out if host is alive
skip at pobox.com
skip at pobox.com
Sun Sep 25 19:19:50 EDT 2005
Eyual> What is the fastest way to find out a host is alive should i make
Eyual> a sys call and ping or is thier an easier way What is the fastest
Eyual> way to find out a host is alive should i make a sys call and ping
Eyual> or is thier an easier way
Depends on the meaning of "host is alive". If that means "up and available
to do something for me", try connecting to the port of interest using the
socket module.
--
Skip Montanaro
Katrina Benefit Concerts: http://www.musi-cal.com/katrina
skip at pobox.com
More information about the Python-list
mailing list