| isReachable |
(String host, double timeout[, int hops]) |
yoix.net |
| isReachable |
(String host, String netif, double timeout[, int hops]) |
|
| |
Returns
1
if
host
is reachable within the
timeout
period and
0
otherwise.
The timeout value is specified in seconds.
The reachability test can be further constrained by supplying a network
interface
(netif)
and a maximum number of
hops.
| |
| Return: |
int
| | |
| See Also: |
getAddress,
getAllByName,
getHostAddress,
getHostName,
getInterfaceAddress,
getInterfaceAddresses,
isAnyLocalAddress,
isLinkLocalAddress,
isLoopbackAddress,
isMCGlobal,
isMCLinkLocal,
isMCNodeLocal,
isMCOrgLocal,
isMCSiteLocal,
isMulticastAddress,
isSiteLocalAddress
|
|
Yoix is a registered trademark of AT&T Inc.
|