package
0.0.0-20241223100845-1bfb5841f0d7
Repository: https://github.com/urpc/uio.git
Documentation: pkg.go.dev
# Functions
Dup dups fd and marks it close-on-exec.
No description provided by the author
SetIPv6Only restricts a IPv6 socket to only process IPv6 requests or both IPv4 and IPv6 requests.
SetKeepAlive sets whether the operating system should send keep-alive messages on the connection.
SetKeepAlivePeriod sets period between keep-alives.
SetLinger sets the behavior of Close on a connection which still has data waiting to be sent or to be acknowledged.
SetNoDelay controls whether the operating system should delay packet transmission in hopes of sending fewer packets (Nagle's algorithm).
SetNonblock set this socket to use non-blocking mode or block mode.
SetRecvBuffer sets the size of the operating system's receive buffer associated with the connection.
SetReuseAddr enables SO_REUSEADDR option on socket.
SetSendBuffer sets the size of the operating system's transmit buffer associated with the connection.
SockaddrToAddr returns a go/net friendly address.
Writev calls writev() on Linux.