Home | History | Annotate | Download | only in net

Lines Matching defs:bind

261             s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
675 // now bind the socket and make sure we get the right answer
676 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
683 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
691 s.bind(new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0));
713 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
753 // now test when we bind explicitly
757 theSocket.bind(null);
819 // Address we cannot bind to
822 theSocket.bind(new InetSocketAddress(InetAddress
831 // now create a socket that is not bound and then bind it
833 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(),
855 theSocket.bind(null);
856 assertNotNull("Bind with null did not work", theSocket
866 theSocket.bind(null);
867 theSocket2.bind(theSocket.getLocalSocketAddress());
877 theSocket.bind(new mySocketAddress());
885 //The Proxy will not impact on the bind operation.It can be assigned with any address.
892 socket.bind(new InetSocketAddress(address, port));
1209 serverSocket.bind(theAddress);
1384 // try to bind to port address that is already in use with
1386 // On windows platforms the bind is allowed even then
1397 theSocket.bind(theLocalAddress);
1403 theSocket2.bind(theOtherLocalAddress);
1409 // addresses we bind to is an IPv6 address and we
1412 fail("No exception when setReuseAddress is false and we bind:"
1420 // try to bind to port that is already in use with reuseAddress
1426 theSocket.bind(theLocalAddress);
1430 theSocket2.bind(theOtherLocalAddress);
1440 theSocket.bind(theLocalAddress);
1443 theSocket2.bind(theOtherLocalAddress);
2075 protected void bind(InetAddress arg0, int arg1) throws IOException {