package
1.3.78
Repository: https://github.com/neoclubtechnology/gnet.git
Documentation: pkg.go.dev

# Functions

Dup is the wrapper for dupCloseOnExec.
OpenPoller instantiates a poller.
SetKeepAlive sets the keepalive for 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.

# Constants

ErrEvents represents exceptional events that are not read/write, like socket being closed, reading/writing from/to a closed socket, etc.
InEvents combines EPOLLIN/EPOLLPRI events and some exceptional events.
InitEvents represents the initial length of poller event-list.
OutEvents combines EPOLLOUT event and some exceptional events.

# Structs

Poller represents a poller which is in charge of monitoring file-descriptors.