< prev index next >

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

Print this page

        

*** 254,274 **** @Override protected void connect(InetAddress address, int port) throws IOException { connect(new InetSocketAddress(address, port), 0); } - @Override - void setSocket(Socket soc) { - delegate.socket = soc; - super.setSocket(soc); - } - - @Override - void setServerSocket(ServerSocket soc) { - throw new InternalError("should not get here"); - } - /** * Connects the Socks Socket to the specified endpoint. It will first * connect to the SOCKS proxy and negotiate the access. If the proxy * grants the connections, then the connect is successful and all * further traffic will go to the "real" endpoint. --- 254,263 ----
< prev index next >