Lines Matching refs:connect

1242         // set up server connect and then validate that we get the right
1338 // set up server connect and then validate that we get the right
1351 // now create one that is not connect and validate that we get the
1361 // now connect and validate we get the right answer
1362 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
1403 theSocket.connect(theAddress);
1452 theSocket.connect(theAddress);
1546 // make sure we can now connect and that connections appear to come
1552 theSocket.connect(theAddress);
1629 * @tests java.net.Socket#connect(java.net.SocketAddress)
1634 method = "connect",
1689 theSocket.connect(null);
1698 theSocket.connect(invalidType);
1709 theSocket.connect(nonConnectableAddress);
1717 // now validate that we get a connect exception if we try to connect to
1721 theSocket.connect(theAddress);
1730 // now validate that we can acutally connect when sombody is listening
1734 theSocket.connect(theAddress);
1738 // now validate that we can acutally connect when sombody is listening
1742 theSocket.connect(theAddress);
1763 // now validate that we get the right exception if we connect when we
1769 theSocket.connect(theAddress);
1770 theSocket.connect(theAddress);
1773 fail("No exception when we try to connect on a connected socket: ");
1795 theSocket.connect(theAddress);
1847 socket.connect( new InetSocketAddress(InetAddress.getLocalHost(),
1856 * @tests java.net.Socket#connect(java.net.SocketAddress, int)
1861 method = "connect",
1904 theSocket.connect(address, timeout);
1945 theSocket.connect(theAddress, -100);
1954 theSocket.connect(null, 0);
1963 theSocket.connect(invalidType, 100000);
1974 theSocket.connect(nonConnectableAddress, 100000);
1982 // now validate that we get a connect exception if we try to connect to
1986 theSocket.connect(theAddress, 0);
1995 // now validate that we can acutally connect when sombody is listening
1999 theSocket.connect(theAddress, 0);
2003 // now validate that we get a connect exception if we try to connect to
2007 theSocket.connect(nonListeningAddress, 100000);
2016 // now validate that we get a interrupted exception if we try to connect
2021 theSocket.connect(nonReachableAddress, 200);
2031 // now validate that we get a interrupted exception if we try to connect
2036 theSocket.connect(nonReachableAddress, 40);
2046 // now validate that we can acutally connect when sombody is listening
2052 theSocket.connect(theAddress, 100000);
2073 // now validate that we get the right exception if we connect when we
2081 theSocket.connect(theAddress, 100000);
2082 theSocket.connect(theAddress, 100000);
2085 fail("No exception when we try to connect on a connected socket: ");
2109 theSocket.connect(theAddress, 100000);
2163 assertEquals("Socket option not set during connect: 10 ", 100,
2167 assertEquals("Socket option not set during connect: 50 ", 200,
2177 socket.connect( new InetSocketAddress(InetAddress.getLocalHost(),
2200 theSocket.connect(theAddress);
2242 theSocket.connect(theAddress);
2651 theSocket.connect(theAddress);
2693 theSocket.connect(theAddress);
2735 theSocket.connect(theAddress);
2784 theSocket.connect(theAddress);
2901 theSocket.connect(theAddress);
3060 * @tests Socket#connect(SocketAddress) try an unknownhost
3065 method = "connect",
3071 socket.connect(new InetSocketAddress("unknownhost", 12345));
3079 * @tests Socket#connect(SocketAddress) try an unknownhost created by
3085 method = "connect",
3091 socket.connect(InetSocketAddress.createUnresolved("unknownhost",
3100 * @tests Socket#connect(SocketAddress) try a known host created by
3106 method = "connect",
3112 socket.connect(InetSocketAddress.createUnresolved(
3287 protected void connect(String arg0, int arg1) throws IOException {
3293 protected void connect(InetAddress arg0, int arg1) throws IOException {
3299 protected void connect(SocketAddress arg0, int arg1) throws IOException {