Package | Description |
---|---|
net.i2p.i2ptunnel.socks |
SOCKS 4, 4a, and 5 client tunnels.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SOCKSServer.confirmConnection()
Confirm to the client that the connection has succeeded
|
protected void |
SOCKS5Server.confirmConnection() |
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.
|
abstract Socket |
SOCKSServer.getClientSocket()
Get a socket that can be used to send/receive 8-bit clean data
to/from the client.
|
Socket |
SOCKS5Server.getClientSocket() |
Socket |
SOCKS4aServer.getClientSocket() |
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 |
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.
|
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 abstract void |
SOCKSServer.setupServer()
Perform server initialization (expecially regarding protected
variables).
|
protected void |
SOCKS5Server.setupServer() |
protected void |
SOCKS4aServer.setupServer() |