Documentation ¶
Overview ¶
Package socks implements essential parts of SOCKS protocol.
Index ¶
Constants ¶
View Source
const ( AtypIPv4 = 1 AtypDomainName = 3 AtypIPv6 = 4 ErrAddressNotSupported = Error(8) )
SOCKS address types as defined in RFC 1928 section 5.
View Source
const MaxAddrLen = 1 + 1 + 255 + 2
MaxAddrLen is the maximum size of SOCKS address in bytes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addr ¶
type Addr []byte
Addr represents a SOCKS address as defined in RFC 1928 section 5.
Click to show internal directories.
Click to hide internal directories.