Documentation ¶
Index ¶
- func Accept4(fd int) (int, *netip.AddrPort)
- func BindOrDie(fd int, addr *netip.AddrPort)
- func Connect(fd int, addr *netip.AddrPort) error
- func CreateNonBlockOrDie() int
- func GetLocalAddr(socketfd int) *netip.AddrPort
- func GetPeerAddr(socketfd int) *netip.AddrPort
- func GetSocketError(fd int) (int, error)
- func IsSelfConnect(fd int) bool
- func ListenOrDie(fd int)
- func SetKeepAlive(fd int, on bool)
- func SetReuseAddr(fd int, isReuse bool)
- func SetReusePort(fd int, isReuse bool)
- func SetTcpNoDelay(fd int, on bool)
- func ShutDownWrite(fd int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalAddr ¶
func GetPeerAddr ¶
func GetSocketError ¶
func IsSelfConnect ¶
func ListenOrDie ¶
func ListenOrDie(fd int)
func SetKeepAlive ¶
func SetReuseAddr ¶
func SetReusePort ¶
func SetTcpNoDelay ¶
func ShutDownWrite ¶
func ShutDownWrite(fd int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.