Searched refs:theSocket2 (Results 1 – 5 of 5) sorted by relevance
787 DatagramSocket theSocket2 = null; in test_setReuseAddressZ() local791 theSocket2 = new DatagramSocket(null); in test_setReuseAddressZ()793 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()795 … theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort())); in test_setReuseAddressZ()802 if (theSocket2 != null) { in test_setReuseAddressZ()803 theSocket2.close(); in test_setReuseAddressZ()809 theSocket2 = new DatagramSocket(null); in test_setReuseAddressZ()811 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()813 … theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort())); in test_setReuseAddressZ()818 if (theSocket2 != null) { in test_setReuseAddressZ()[all …]
860 MulticastSocket theSocket2 = new MulticastSocket(null); in setReuseAddressZ() local861 theSocket2.setReuseAddress(false); in setReuseAddressZ()867 theSocket2.bind(addr); in setReuseAddressZ()873 theSocket2.close(); in setReuseAddressZ()877 theSocket2 = new MulticastSocket(null); in setReuseAddressZ()879 theSocket2.setReuseAddress(true); in setReuseAddressZ()883 theSocket2.bind(addr); in setReuseAddressZ()886 theSocket2.close(); in setReuseAddressZ()890 theSocket2 = new MulticastSocket(null); in setReuseAddressZ()894 theSocket2.bind(addr); in setReuseAddressZ()[all …]
450 ServerSocket theSocket2 = new ServerSocket(); in test_bindLjava_net_SocketAddress() local455 theSocket2.bind(localAddress); in test_bindLjava_net_SocketAddress()460 theSocket2.close(); in test_bindLjava_net_SocketAddress()533 ServerSocket theSocket2 = new ServerSocket(); in test_bindLjava_net_SocketAddressI() local538 theSocket2.bind(inuseAddress, 5); in test_bindLjava_net_SocketAddressI()544 theSocket2.close(); in test_bindLjava_net_SocketAddressI()
220 Socket theSocket2 = new Socket(); in test_bindLjava_net_SocketAddress() local222 theSocket2.bind(theSocket.getLocalSocketAddress()); in test_bindLjava_net_SocketAddress()228 theSocket2.close(); in test_bindLjava_net_SocketAddress()1463 Socket theSocket2 = new Socket(); in test_setReuseAddressZ() local1464 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()1472 theSocket2.bind(localAddress1); in test_setReuseAddressZ()1474 theSocket2.close(); in test_setReuseAddressZ()
867 Socket theSocket2 = new Socket(); in test_bindLjava_net_SocketAddress() local870 theSocket2.bind(theSocket.getLocalSocketAddress()); in test_bindLjava_net_SocketAddress()875 theSocket2.close(); in test_bindLjava_net_SocketAddress()1410 Socket theSocket2 = null; in test_setReuseAddressZ() local1413 theSocket2 = new Socket(); in test_setReuseAddressZ()1414 theSocket2.setReuseAddress(false); in test_setReuseAddressZ()1415 theSocket2.bind(theOtherLocalAddress); in test_setReuseAddressZ()1430 theSocket2.close(); in test_setReuseAddressZ()1439 theSocket2 = new Socket(); in test_setReuseAddressZ()1440 theSocket2.setReuseAddress(true); in test_setReuseAddressZ()[all …]