java.lang.Object
net.i2p.socks.SOCKS5Constants.Command
- Enclosing class:
SOCKS5Constants
SOCKS5 command codes.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intListen on a TCP port and wait for one inbound connection.static final intOpen a relayed TCP connection to the requested destination.static final intTor extension: open a connection to a directory authority.static final intTor extension: resolve the destination through the SOCKS proxy instead of connecting to it.static final intTor extension: reverse-resolve an address to a hostname.static final intAssociate a UDP port to relay datagrams.Constructor Summary
ConstructorsMethod Summary
Field Details
CONNECT
public static final int CONNECTOpen a relayed TCP connection to the requested destination.- See Also:
BIND
public static final int BINDListen on a TCP port and wait for one inbound connection.- See Also:
UDP_ASSOCIATE
public static final int UDP_ASSOCIATEAssociate a UDP port to relay datagrams.- See Also:
TOR_RESOLVE
public static final int TOR_RESOLVETor extension: resolve the destination through the SOCKS proxy instead of connecting to it.TOR_RESOLVE_PTR
public static final int TOR_RESOLVE_PTRTor extension: reverse-resolve an address to a hostname. This server rejects the command.- See Also:
TOR_CONNECT_DIR
public static final int TOR_CONNECT_DIRTor extension: open a connection to a directory authority. This server rejects the command.- See Also:
Constructor Details
Command
public Command()Names the constant list itself; it holds no per-instance state.