diff options
Diffstat (limited to 'src/Network/BitTorrent.hs')
-rw-r--r-- | src/Network/BitTorrent.hs | 2 |
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 | |||
28 | import Network.BitTorrent.Exchange as BT | 28 | import Network.BitTorrent.Exchange as BT |
29 | import Network.BitTorrent.Tracker as BT | 29 | import 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 | ||
32 | discover :: SwarmSession -> (TSession -> IO a) -> IO a | 34 | discover :: SwarmSession -> (TSession -> IO a) -> IO a |
33 | discover SwarmSession {..} action = do | 35 | discover SwarmSession {..} action = do |