Lines Matching defs:bind

375      * java.net.ServerSocket#bind(java.net.SocketAddress)
382 // create servers socket, bind it and then validate basic state
386 theSocket.bind(theAddress);
413 // validate we can specify null for the address in the bind and all
416 theSocket.bind(null);
424 theSocket.bind(theAddress);
426 theSocket2.bind(localAddress);
433 // validate we get io address when we try to bind to address we
434 // cannot bind to
437 theSocket.bind(new InetSocketAddress(InetAddress
449 theSocket.bind(new mySocketAddress());
457 * java.net.ServerSocket#bind(java.net.SocketAddress, int)
466 // create servers socket, bind it and then validate basic state
470 theSocket.bind(theAddress, 5);
496 // validate we can specify null for the address in the bind and all
499 theSocket.bind(null, 5);
507 theSocket.bind(theAddress, 5);
509 theSocket2.bind(inuseAddress, 5);
517 // validate we get ioException when we try to bind to address we
518 // cannot bind to
521 theSocket.bind(new InetSocketAddress(InetAddress
533 theSocket.bind(new mySocketAddress(), 5);
546 theSocket.bind(theAddress, 4);
556 fail("Backlog does not seem to be respected in bind:" + i + ":"
594 // now bind the socket and make sure we get the right answer
596 .bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
613 // now bind and validate bound ok
614 serverSocket.bind(new InetSocketAddress(addr, 0));
698 serverSocket.bind(anyAddress);
708 // setReuseAddress to false. On windows platforms the bind is
715 serverSocket.bind(theAddress);
716 fail("No exception when setReuseAddress is false and we bind:" + theAddress.toString());
726 serverSocket.bind(anyAddress);
740 serverSocket.bind(theAddress);
742 fail("Unexpected exception when setReuseAddress is true and we bind:"
752 serverSocket.bind(anyAddress);
764 serverSocket.bind(theAddress);
766 fail("Unexpected exception when setReuseAddress is the default case and we bind:"
894 protected void bind(InetAddress arg0, int arg1) throws IOException {