Java InetAddress Check isReachable(final InetAddress inetAddress, final int timeout)

Here you can find the source of isReachable(final InetAddress inetAddress, final int timeout)

Description

is Reachable

License

Apache License

Declaration

private static boolean isReachable(final InetAddress inetAddress, final int timeout) throws IOException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.IOException;
import java.net.*;

public class Main {
    private static boolean isReachable(final InetAddress inetAddress, final int timeout) throws IOException {
        return inetAddress.isReachable(timeout);
    }//from   ww w.  j av a2 s .c  o  m
}

Related

  1. isPrivateSubnet(InetAddress address)
  2. isPublic(InetAddress inetAddress)
  3. isPublicIp(InetAddress addr)
  4. isPublicIP4Address(InetAddress localAddress)
  5. isPubliclyRoutable(final InetAddress addrIP)
  6. isReachable(InetAddress address, int port)
  7. isReachable(NetworkInterface iface, InetAddress address, int timeout)
  8. isReservedAddr(InetAddress inetAddr)
  9. isServerAlive(InetAddress host, int port)