Searched defs:getLocalHost (Results 1 – 4 of 4) sorted by relevance
160 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_IllegalArgumentException()169 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_IllegalArgumentException()199 try (Socket s1 = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_ExceptionOrder()
849 public static InetAddress getLocalHost() throws UnknownHostException { in getLocalHost() method in InetAddress
126 try (DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost())) { in test_ConstructorILjava_net_InetAddress()
605 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort(), in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI()