summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs
index 61185d08..c37129cb 100644
--- a/src/Network/BitTorrent.hs
+++ b/src/Network/BitTorrent.hs
@@ -28,6 +28,8 @@ import Network.BitTorrent.Peer as BT
28import Network.BitTorrent.Exchange as BT 28import Network.BitTorrent.Exchange as BT
29import Network.BitTorrent.Tracker as BT 29import Network.BitTorrent.Tracker as BT
30 30
31-- discover should hide tracker and DHT communication under the hood
32-- thus we can obtain unified interface
31 33
32discover :: SwarmSession -> (TSession -> IO a) -> IO a 34discover :: SwarmSession -> (TSession -> IO a) -> IO a
33discover SwarmSession {..} action = do 35discover SwarmSession {..} action = do