Documentation ¶
Index ¶
Constants ¶
View Source
const ( Established skState = 0x01 SynSent skState = 0x02 SynRecv skState = 0x03 FinWait1 skState = 0x04 FinWait2 skState = 0x05 TimeWait skState = 0x06 Close skState = 0x07 CloseWait skState = 0x08 LastAck skState = 0x09 Listen skState = 0x0a Closing skState = 0x0b )
Socket states
View Source
const ( Broken = iota Other Error )
Variables ¶
View Source
var ErrMultipleSocketsForInode = errors.NewKind("more than one socket found for inode")
ErrMultipleSocketsForInode is returned when more than one socket is found for an inode
View Source
var ErrNoSocketLink = errors.NewKind("couldn't resolve file descriptor link to socket")
View Source
var ErrSocketCheckNotImplemented = errors.NewKind("socket checking not implemented for this OS")
ErrSocketCheckNotImplemented will be returned for OS where the socket checks is not implemented yet
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.