Safe Haskell | Safe-Inferred |
---|---|
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 `procpidnettcp` file of the process. Only non-debug fields are parsed and described the socket data structure.
TcpSocket | |
|