Searched refs:localSocketAddress (Results 1 – 3 of 3) sorted by relevance
1085 InetSocketAddress localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1086 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());1090 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1091 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());1095 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);1096 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()