com.mindbright.ssh2
public class SSH2SocksChannel extends java.lang.Object implements java.lang.Runnable
SSH2SocksListener
implements
a simple SOCKS proxy server that open port forwards for each CONNECT
packet. Only TCP is supported.SSH2SocksListener
Constructor and Description |
---|
SSH2SocksChannel(java.net.Socket s,
SSH2Connection connection)
Create a channel object for the specified socket that
speaks (a subset of) SOCKS.
|
public SSH2SocksChannel(java.net.Socket s, SSH2Connection connection)
s
- The socket to use.connection
- The connection to use.