Package hamsam.net

Examples of hamsam.net.SocksConnection


                case ProxyInfo.SOCKS4 :

                    String proxyHost = proxyInfo.getServerName();
                    int proxyPort = proxyInfo.getServerPort();
                    this.conn = new SocksConnection(proxyHost, proxyPort, host, port);
                    break;

                case ProxyInfo.SOCKS5 :
                    proxyHost = proxyInfo.getServerName();
                    proxyPort = proxyInfo.getServerPort();

                    String proxyUsername = proxyInfo.getUsername();
                    String proxyPassword = proxyInfo.getPassword();
                    this.conn = new SocksConnection(proxyHost, proxyPort, proxyUsername, proxyPassword, host, port);
                    break;

                case ProxyInfo.HTTP :
                    proxyHost = proxyInfo.getServerName();
                    proxyPort = proxyInfo.getServerPort();
View Full Code Here

TOP

Related Classes of hamsam.net.SocksConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.