Module consts

Module consts 

Source
Expand description

Handshake related constants

Client send proxy request to sever:

+------+----------+----------+
| ATYP | DST.ADDR | DST.PORT |
+------+----------+----------+
|  1   | Variable |    2     |
+------+----------+----------+

example: proxy google.com:0
bytes: `0x03 0x0A b`google.com` 0x00 0x00`

Enums§

Error

Constants§

MAXIMUM_UDP_PAYLOAD_SIZE
SOCKS5_ADDR_TYPE_DOMAIN_NAME
SOCKS5_ADDR_TYPE_IPV4
SOCKS5_ADDR_TYPE_IPV6
UDP_KEEP_ALIVE_CHANNEL_SIZE
UDP_SEND_CHANNEL_SIZE