diff options
Diffstat (limited to 'Presence/ConnectionKey.hs')
-rw-r--r-- | Presence/ConnectionKey.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Presence/ConnectionKey.hs b/Presence/ConnectionKey.hs index 944f4f6f..f0180455 100644 --- a/Presence/ConnectionKey.hs +++ b/Presence/ConnectionKey.hs | |||
@@ -3,8 +3,9 @@ module ConnectionKey where | |||
3 | import Network.Socket ( SockAddr(..) ) | 3 | import Network.Socket ( SockAddr(..) ) |
4 | import SockAddr () | 4 | import SockAddr () |
5 | 5 | ||
6 | data ConnectionKey | 6 | newtype PeerAddress = PeerAddress SockAddr |
7 | = PeerKey { callBackAddress :: SockAddr } | 7 | deriving (Eq,Ord,Show) |
8 | | ClientKey { localAddress :: SockAddr } | 8 | |
9 | deriving (Show, Ord, Eq) | 9 | newtype ClientAddress = ClientAddress SockAddr |
10 | deriving (Eq,Ord,Show) | ||
10 | 11 | ||