Documentation ¶
Overview ¶
Package socks4 provides SOCKS4/SOCKS4A client functionalities.
Index ¶
Constants ¶
View Source
const Version = 0x04
Variables ¶
View Source
var ( ErrRequestRejected = errors.New("request rejected or failed") ErrRequestIdentdFailed = errors.New("request rejected because SOCKS server cannot connect to identd on the client") ErrRequestIdentdMismatched = errors.New("request rejected because the client program and identd report different user-ids") ErrRequestUnknownCode = errors.New("request failed with unknown code") )
Functions ¶
func ClientHandshake ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.