| Protocol which uses InetAddress.isReachable() to check whether a given host is up or not,
taking 1 argument; the host name of the host to be pinged.
Note that this protocol only works with JDK 5 !
The implementation of this may or may not use ICMP ! An alternative is to create a TCP connection to port 7 (echo service)
and see whether it works ! This is obviously done in JDK 5, so unless an echo service is configured to run, this
won't work...
author: Bela Ban version: $Id: FD_ICMP.java,v 1.5.2.1 2007/04/27 08:03:51 belaban Exp $ |