Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWouldBlock error = syscall.EWOULDBLOCK
Functions ¶
Types ¶
type FD ¶
type FD interface { io.Reader io.Writer io.Closer SetKeepAlivePeriod(d time.Duration) error SetKeepAlive(bool) error SetFastOpen(b bool) error SetReusePort(b bool) error SetReuseAddr(b bool) error OK() bool LocalAddr() *net.TCPAddr RemoteAddr() *net.TCPAddr ReadFull(b []byte) (n int, err error) Peek(b []byte) (n int, err error) Accept(SetNonBlocking bool) (FD, *net.TCPAddr, error) Addr() *net.TCPAddr SetNonBlocking(bool) error SetNoDelay(bool) error Int() int Bind(sa unix.Sockaddr) error Connect(sa unix.Sockaddr) error BindToDevice(dev string) error Listen(backlog int) error Stat() (*syscall.Stat_t, error) }
Click to show internal directories.
Click to hide internal directories.