socks4a

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandConnect byte = 0x01
	CommandBind    byte = 0x02
)

Variables

This section is empty.

Functions

Types

type Server

type Server struct {
	*netapi.ChannelProtocolServer
	// contains filtered or unexported fields
}

func (*Server) AcceptPacket added in v0.3.3

func (s *Server) AcceptPacket() (*netapi.Packet, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Handle

func (s *Server) Handle(conn net.Conn) error

func (*Server) Handshake

func (s *Server) Handshake(conn net.Conn) (netapi.Address, error)

func (*Server) Server

func (s *Server) Server()

Jump to

Keyboard shortcuts

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