socks5

package
v1.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AddrMask byte = 0xf
)

Variables

This section is empty.

Functions

func Copy

func Copy(dst io.Writer, src io.Reader) (written int64, err error)

Memory optimized io.Copy function specified for this library

func GetLocalRequest

func GetLocalRequest(conn *net.Conn) (rawaddr []byte, host string, isUdp bool, err error)

func Pipe

func Pipe(p1, p2 net.Conn)

func SetReadTimeout

func SetReadTimeout(c *net.Conn)

func Socks5HandShake

func Socks5HandShake(conn *net.Conn) (err error)

func

Types

type DebugLog

type DebugLog bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL