Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data TcpSocket = TcpSocket {
- tcpLocalAddr :: !(ByteString, Int)
- tcpRemoteAddr :: !(ByteString, Int)
- tcpTcpState :: !TcpState
- tcpUid :: !Int
- tcpInode :: !Int
- data TcpState
- readProcTcpSockets :: ProcessId -> IO (Either ProcError [TcpSocket])
Documentation
TCP socket used by a process according to the `/proc/<pid>/net/tcp` file of the process. Only non-debug fields are parsed and described the socket data structure.
TcpSocket | |
|