{-# LANGUAGE OverloadedStrings #-}
module FuncTorrent.Peer
- (PieceMap,
- handlePeerMsgs
+ (handlePeerMsgs
) where
import Prelude hiding (lookup, concat, replicate, splitAt, take, drop)
import System.IO (hSetBuffering, BufferMode ( NoBuffering ))
import FuncTorrent.Metainfo (Metainfo)
-import FuncTorrent.Peer (handlePeerMsgs, PieceMap)
+import FuncTorrent.Peer (handlePeerMsgs)
import FuncTorrent.PeerMsgs (Peer(..))
+import FuncTorrent.PieceManager (PieceMap)
import qualified FuncTorrent.FileSystem as FS (MsgChannel)
-- server is listening on any port from 6881 - 6889