package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
DialContextTCP creates a new TCPConn connected to the specified address with the option of adding cancellation and timeouts.
DialTCP creates a new TCPConn connected to the specified address.
DialTCPWithBind creates a new TCPConn connected to the specified remoteAddress with its local address bound to localAddr.
DialUDP creates a new UDPConn.
ListenTCP creates a new TCPListener.
NewTCPConn creates a new TCPConn.
NewTCPListener creates a new TCPListener from a listening tcpip.Endpoint.
NewUDPConn creates a new UDPConn.
# Structs
A TCPConn is a wrapper around a TCP tcpip.Endpoint that implements the net.Conn interface.
A TCPListener is a wrapper around a TCP tcpip.Endpoint that implements net.Listener.
A UDPConn is a wrapper around a UDP tcpip.Endpoint that implements net.Conn and net.PacketConn.