Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data TcpConnection = TcpConnection {}
- data TcpConnectionOriented = TcpConnectionOriented {}
- tcpConnectionToOriented :: TcpConnection -> TcpConnectionOriented
- showTcpConnectionText :: TcpConnection -> Text
- reverseTcpConnectionTuple :: TcpConnectionOriented -> TcpConnectionOriented
- tcpConnectionFromOriented :: TcpConnectionOriented -> TcpConnection
Documentation
data TcpConnection Source #
Identifies a TCP connection TODO TcpTsharkConnection
TcpConnection | |
|
Instances
Eq TcpConnection Source # | |
Defined in Net.Tcp.Connection (==) :: TcpConnection -> TcpConnection -> Bool # (/=) :: TcpConnection -> TcpConnection -> Bool # | |
Ord TcpConnection Source # | |
Defined in Net.Tcp.Connection compare :: TcpConnection -> TcpConnection -> Ordering # (<) :: TcpConnection -> TcpConnection -> Bool # (<=) :: TcpConnection -> TcpConnection -> Bool # (>) :: TcpConnection -> TcpConnection -> Bool # (>=) :: TcpConnection -> TcpConnection -> Bool # max :: TcpConnection -> TcpConnection -> TcpConnection # min :: TcpConnection -> TcpConnection -> TcpConnection # | |
Show TcpConnection Source # | |
Defined in Net.Tcp.Connection showsPrec :: Int -> TcpConnection -> ShowS # show :: TcpConnection -> String # showList :: [TcpConnection] -> ShowS # |
data TcpConnectionOriented Source #
TcpConnectionOriented | |
|
Instances
Eq TcpConnectionOriented Source # | |
Defined in Net.Tcp.Connection (==) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # (/=) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # | |
Ord TcpConnectionOriented Source # | |
Defined in Net.Tcp.Connection compare :: TcpConnectionOriented -> TcpConnectionOriented -> Ordering # (<) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # (<=) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # (>) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # (>=) :: TcpConnectionOriented -> TcpConnectionOriented -> Bool # max :: TcpConnectionOriented -> TcpConnectionOriented -> TcpConnectionOriented # min :: TcpConnectionOriented -> TcpConnectionOriented -> TcpConnectionOriented # | |
Show TcpConnectionOriented Source # | |
Defined in Net.Tcp.Connection showsPrec :: Int -> TcpConnectionOriented -> ShowS # show :: TcpConnectionOriented -> String # showList :: [TcpConnectionOriented] -> ShowS # |
tcpConnectionToOriented Source #
:: TcpConnection | Source is the client |
-> TcpConnectionOriented |
showTcpConnectionText :: TcpConnection -> Text Source #
Pretty print
tcpConnectionFromOriented Source #
:: TcpConnectionOriented | Source is the client |
-> TcpConnection |
Uses the source as client. Use reverseTcpConnectionTuple
to assign the server as source