Once connected to and authenticated with the SOCKS server, the client and
the server exchange requests and replies in three command (CMD
) categories:
0x01
- CONNECT
:
Connect command
0x02
- BIND
:
Bind command
0x03
- UDP
ASSOCIATE
: UDP associate command
(SOCKS5 only)
There is an associated server reply for each client request. The BIND
command require a previous successful
CONNECT
reply.