socks

package
v0.0.0-...-869189d Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Version uint8 = 5

Variables

This section is empty.

Functions

This section is empty.

Types

type Atyp

type Atyp uint8
const (
	AtypIP4    Atyp = 1
	AtypDomain Atyp = 3
	AtypIP6    Atyp = 4
)

type AuthMethod

type AuthMethod uint8
const (
	AuthNone     AuthMethod = 0
	AuthGssapi   AuthMethod = 1
	AuthPassword AuthMethod = 2
	AuthInvalid  AuthMethod = 0xFF
)

type Cmd

type Cmd uint8
const (
	CmdConnect      Cmd = 1
	CmdBind         Cmd = 2
	CmdUDPAssociate Cmd = 3
)

type Reply

type Reply uint8
const (
	ReplySuccess          Reply = 0
	ReplyError            Reply = 1
	ReplyForbidden        Reply = 2
	ReplyNetUnreachable   Reply = 3
	ReplyHostUnreachable  Reply = 4
	ReplyRefused          Reply = 5
	ReplyExpired          Reply = 6
	ReplyCmdNotSupported  Reply = 7
	ReplyAtypNotSupported Reply = 8
)

Jump to

Keyboard shortcuts

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