Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data SockInfo addr = SockInfo {
- siLocalAddress :: addr
- siLocalPort :: Word16
- siRemoteAddress :: addr
- siRemotePort :: Word16
- siUserId :: Int
- siInode :: Int
- newtype Addr4 = Addr4 Word32
- newtype Addr6 = Addr6 (Word32, Word32, Word32, Word32)
- class Addr addr
- readProcNet :: Addr addr => FilePath -> IO [SockInfo addr]
- readProcNetTcp4 :: IO [SockInfo Addr4]
- readProcNetTcp6 :: IO [SockInfo Addr6]
- readProcNetUdp4 :: IO [SockInfo Addr4]
- readProcNetUdp6 :: IO [SockInfo Addr6]
Types
SockInfo | |
|
like Network.Socket.HostAddress
like Network.Socket.HostAddress6