src/share/classes/java/net/SocksSocketImpl.java

Print this page

        

*** 642,652 **** /** * Sends the Bind request to the SOCKS proxy. In the SOCKS protocol, bind * means "accept incoming connection from", so the SocketAddress is the * the one of the host we do accept connection from. * ! * @param addr the Socket address of the remote host. * @exception IOException if an I/O error occurs when binding this socket. */ protected synchronized void socksBind(InetSocketAddress saddr) throws IOException { if (socket != null) { // this is a client socket, not a server socket, don't --- 642,652 ---- /** * Sends the Bind request to the SOCKS proxy. In the SOCKS protocol, bind * means "accept incoming connection from", so the SocketAddress is the * the one of the host we do accept connection from. * ! * @param saddr the Socket address of the remote host. * @exception IOException if an I/O error occurs when binding this socket. */ protected synchronized void socksBind(InetSocketAddress saddr) throws IOException { if (socket != null) { // this is a client socket, not a server socket, don't