Documentation ¶
Index ¶
Constants ¶
View Source
const MaxAddrLen = 1 + 1 + 255 + 2
MaxAddrLen is the maximum size of SOCKS address in bytes.
Variables ¶
This section is empty.
Functions ¶
func NewTCPHandler ¶
func NewTCPHandler(proxyHost string, proxyPort uint16) tun2socks.ConnectionHandler
func NewUDPHandler ¶
func NewUDPHandler(proxyHost string, proxyPort uint16) tun2socks.ConnectionHandler
Types ¶
Click to show internal directories.
Click to hide internal directories.