A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/330598.html below:

Find out if host is alive

Find out if host is alive Find out if host is aliveskip 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4