diff options
author | joe <joe@jerkface.net> | 2014-03-10 21:53:48 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-03-10 21:53:48 -0400 |
commit | 100545d54d73be627ca47fe0542abedd437baadc (patch) | |
tree | d2e2abea04dd0156b8edc8be68f88c254089757f /Presence/Server.hs | |
parent | 0a6d10b2d309e0bcbce2ae075d73f98acfe159e9 (diff) |
Moved DNS related calls to single module (preparation for DNSCache)
Diffstat (limited to 'Presence/Server.hs')
-rw-r--r-- | Presence/Server.hs | 7 |
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 | |||
63 | import Debug.Trace | 63 | import Debug.Trace |
64 | import Data.Time.Clock (UTCTime,getCurrentTime,diffUTCTime) | 64 | import Data.Time.Clock (UTCTime,getCurrentTime,diffUTCTime) |
65 | import Data.Time.Format (formatTime) | 65 | import Data.Time.Format (formatTime) |
66 | import SockAddr () | ||
66 | -- import System.Locale (defaultTimeLocale) | 67 | -- import System.Locale (defaultTimeLocale) |
67 | 68 | ||
68 | todo = error "unimplemented" | 69 | todo = error "unimplemented" |
69 | 70 | ||
70 | #if MIN_VERSION_network(2,4,0) | ||
71 | #else | ||
72 | deriving instance Ord SockAddr | ||
73 | #endif | ||
74 | |||
75 | |||
76 | type Microseconds = Int | 71 | type Microseconds = Int |
77 | type Miliseconds = Int | 72 | type Miliseconds = Int |
78 | type TimeOut = Miliseconds | 73 | type TimeOut = Miliseconds |