com.sshtools.j2ssh.net
Class SocksProxySocket
Socketcom.sshtools.j2ssh.net.SocksProxySocket
- TransportProvider
public class SocksProxySocket
extends Socket
static SocksProxySocket | connectViaSocks4Proxy(String remoteHost, int remotePort, String proxyHost, int proxyPort, String userId)
|
static SocksProxySocket | connectViaSocks5Proxy(String remoteHost, int remotePort, String proxyHost, int proxyPort, String username, String password)
|
static SocksProxySocket | connectViaSocks5Proxy(String remoteHost, int remotePort, String proxyHost, int proxyPort, boolean localLookup, String username, String password)
|
String | getProviderDetail()
|
String | toString()
|
SOCKS4
public static final int SOCKS4
SOCKS5
public static final int SOCKS5
connectViaSocks4Proxy
public static SocksProxySocket connectViaSocks4Proxy(String remoteHost,
int remotePort,
String proxyHost,
int proxyPort,
String userId)
throws IOException,
UnknownHostExceptionremoteHost - remotePort - proxyHost - proxyPort - userId -
connectViaSocks5Proxy
public static SocksProxySocket connectViaSocks5Proxy(String remoteHost,
int remotePort,
String proxyHost,
int proxyPort,
String username,
String password)
throws IOException,
UnknownHostExceptionremoteHost - remotePort - proxyHost - proxyPort - username - password -
connectViaSocks5Proxy
public static SocksProxySocket connectViaSocks5Proxy(String remoteHost,
int remotePort,
String proxyHost,
int proxyPort,
boolean localLookup,
String username,
String password)
throws IOException,
UnknownHostExceptionremoteHost - remotePort - proxyHost - proxyPort - localLookup - username - password -
toString
public String toString()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.