Determining availability of a remote machine

Michael Still mikal at stillhq.com
Wed Apr 2 07:50:58 EST 2003


Hey,

I need to be able to determine if a remote machine is available without
living through a long timeout. For network configuration reasons I can't
use ICMP.

Anyone have a brilliant idea as to how to determine if a machine is alive
in code without using ICMP? I thought of just connecting to a port, but I
can't gaurantee that certain ports are open on the remote side, and
firewalls might get in my way.

Thanks,
Mikal

-- 

Michael Still (mikal at stillhq.com) | Stage 1: Steal underpants
http://www.stillhq.com            | Stage 2: ????
UTC + 10                          | Stage 3: Profit



More information about the linux mailing list