| Package | Description |
|---|---|
| net.i2p.i2ptunnel.socks | SOCKS protocol tunnel implementation for I2P, supporting SOCKS 4, 4a, and 5. |
| Modifier and Type | Method and Description |
|---|---|
protected void | SOCKS5Server.confirmConnection() |
protected abstract void | SOCKSServer.confirmConnection()Confirm to the client that the connection has succeeded |
protected void | SOCKS4aServer.confirmConnection() |
static SOCKSServer | SOCKSServerFactory.createSOCKSServer(I2PAppContext ctx,
Socket s,
Properties props)Create a new SOCKS server, using the provided socket (that must
be connected to a client) to select the proper SOCKS protocol
version. |
Socket | SOCKS5Server.getClientSocket() |
abstract Socket | SOCKSServer.getClientSocket()Get a socket that can be used to send/receive 8-bit clean data
to/from the client. |
Socket | SOCKS4aServer.getClientSocket() |
I2PSocket | SOCKS5Server.getDestinationI2PSocket(I2PSOCKSTunnel t)Get an I2PSocket that can be used to send/receive 8-bit clean data
to/from the destination of the SOCKS connection. |
abstract I2PSocket | SOCKSServer.getDestinationI2PSocket(I2PSOCKSTunnel t)Get an I2PSocket that can be used to send/receive 8-bit clean data
to/from the destination of the SOCKS connection. |
I2PSocket | SOCKS4aServer.getDestinationI2PSocket(I2PSOCKSTunnel t)Get an I2PSocket that can be used to send/receive 8-bit clean data
to/from the destination of the SOCKS connection. |
protected void | SOCKS5Server.setupServer() |
protected abstract void | SOCKSServer.setupServer()Perform server initialization (expecially regarding protected
variables). |
protected void | SOCKS4aServer.setupServer() |