i) 尝试用袖珍材料制作SSLS袖珍材料,但获得这一例外。
SocketAddress proxyAddr = new InetSocketAddress(proxyHost, proxyPort);
Socket underlying = new Socket(new Proxy(Proxy.Type.SOCKS, proxyAddr));
underlying.connect(new InetSocketAddress(host, port));
SSLSocket socket = (SSLSocket) factory.createSocket(underlying,proxyHost,proxyPort,true);
Exception: java.net.SocketException: Malformed reply from SOCKS server
感谢您的帮助