Searched refs:localSocketAddress (Results 1 – 4 of 4) sorted by relevance
61 InetSocketAddress localSocketAddress = new InetSocketAddress(localAddress, testMcastPort); in createSocketAddress() local62 return localSocketAddress; in createSocketAddress()
1134 InetSocketAddress localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1135 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());1139 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1140 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());1144 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1145 assertEquals(Inet4Address.ANY, localSocketAddress.getAddress());
1229 SocketAddress localSocketAddress; in test_connectLjava_net_SocketAddressI() local1232 localSocketAddress = serverSocket.getLocalSocketAddress(); in test_connectLjava_net_SocketAddressI()1233 theSocket.connect(localSocketAddress); in test_connectLjava_net_SocketAddressI()1265 socket.connect(localSocketAddress); in test_connectLjava_net_SocketAddressI()
516 InetSocketAddress localSocketAddress = (InetSocketAddress) s.getLocalSocketAddress(); in assertSocketAfterImplicitBind() local517 assertTrue(localSocketAddress.getAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()518 assertEquals(s.getLocalPort(), localSocketAddress.getPort()); in assertSocketAfterImplicitBind()