Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address []byte
Address is a SOCKS address
func ExtractAddress ¶
ExtractAddress extracts a SOCKS address from the beginning of a packet
func Handshake ¶
func Handshake(readWriter io.ReadWriter) (targetAddress Address, err error)
Handshake fast-tracks SOCKS initialization to get target address to connect.
func ParseAddress ¶
ParseAddress parses the SOCKS address from a network address
func ReadAddress ¶
ReadAddress reads bytes from the reader to get a Socks address
Click to show internal directories.
Click to hide internal directories.