Determining availability of a remote machine

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


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.



Michael Still (mikal at | Stage 1: Steal underpants            | Stage 2: ????
UTC + 10                          | Stage 3: Profit

More information about the linux mailing list