summaryrefslogtreecommitdiff
path: root/Presence/Server.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-03-10 21:53:48 -0400
committerjoe <joe@jerkface.net>2014-03-10 21:53:48 -0400
commit100545d54d73be627ca47fe0542abedd437baadc (patch)
treed2e2abea04dd0156b8edc8be68f88c254089757f /Presence/Server.hs
parent0a6d10b2d309e0bcbce2ae075d73f98acfe159e9 (diff)
Moved DNS related calls to single module (preparation for DNSCache)
Diffstat (limited to 'Presence/Server.hs')
-rw-r--r--Presence/Server.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Presence/Server.hs b/Presence/Server.hs
index abf9f5e3..fd5f1e43 100644
--- a/Presence/Server.hs
+++ b/Presence/Server.hs
@@ -63,16 +63,11 @@ import Network.BSD
63import Debug.Trace 63import Debug.Trace
64import Data.Time.Clock (UTCTime,getCurrentTime,diffUTCTime) 64import Data.Time.Clock (UTCTime,getCurrentTime,diffUTCTime)
65import Data.Time.Format (formatTime) 65import Data.Time.Format (formatTime)
66import SockAddr ()
66-- import System.Locale (defaultTimeLocale) 67-- import System.Locale (defaultTimeLocale)
67 68
68todo = error "unimplemented" 69todo = error "unimplemented"
69 70
70#if MIN_VERSION_network(2,4,0)
71#else
72deriving instance Ord SockAddr
73#endif
74
75
76type Microseconds = Int 71type Microseconds = Int
77type Miliseconds = Int 72type Miliseconds = Int
78type TimeOut = Miliseconds 73type TimeOut = Miliseconds