# Functions
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 and sets period between keep-alive's.
SetNoDelay controls whether the operating system should delay packet transmission in hopes of sending fewer packets (Nagle's algorithm).
SetRecvBuffer sets the size of the operating system's receive buffer associated with the connection.
SetReuseport enables SO_REUSEPORT option on socket.
SetSendBuffer sets the size of the operating system's transmit buffer associated with the connection.
SockaddrToTCPOrUnixAddr converts a Sockaddr to a net.TCPAddr or net.UnixAddr.
SockaddrToUDPAddr converts a Sockaddr to a net.UDPAddr Returns nil if conversion fails.
TCPConnect calls the internal tcpConnect.
TCPSocket calls the internal tcpSocket.
UDPSocket calls the internal udpSocket.
UnixSocket calls the internal udsSocket.