summaryrefslogtreecommitdiff
path: root/Presence/ConnectionKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/ConnectionKey.hs')
-rw-r--r--Presence/ConnectionKey.hs9
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
3import Network.Socket ( SockAddr(..) ) 3import Network.Socket ( SockAddr(..) )
4import SockAddr () 4import SockAddr ()
5 5
6data ConnectionKey 6newtype PeerAddress = PeerAddress SockAddr
7 = PeerKey { callBackAddress :: SockAddr } 7 deriving (Eq,Ord,Show)
8 | ClientKey { localAddress :: SockAddr } 8
9 deriving (Show, Ord, Eq) 9newtype ClientAddress = ClientAddress SockAddr
10 deriving (Eq,Ord,Show)
10 11