diff options
Diffstat (limited to 'dht/examples/dhtd.hs')
-rw-r--r-- | dht/examples/dhtd.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/examples/dhtd.hs b/dht/examples/dhtd.hs index de315e35..0dcb4237 100644 --- a/dht/examples/dhtd.hs +++ b/dht/examples/dhtd.hs | |||
@@ -1803,7 +1803,7 @@ main = do | |||
1803 | fromMaybe bail $ msock <&> \(udp,sock) -> do | 1803 | fromMaybe bail $ msock <&> \(udp,sock) -> do |
1804 | addr <- getSocketName sock | 1804 | addr <- getSocketName sock |
1805 | (bt,btR,btBootstrap4, btBootstrap6,quitBtClient) <- Mainline.newClient swarms addr udp | 1805 | (bt,btR,btBootstrap4, btBootstrap6,quitBtClient) <- Mainline.newClient swarms addr udp |
1806 | quitBt <- forkListener "bt" (clientNet bt) | 1806 | quitBt <- forkListener "bt" (dput XBitTorrent . mappend "bt-parse: ") (clientNet bt) |
1807 | mainlineSearches <- atomically $ newTVar Map.empty | 1807 | mainlineSearches <- atomically $ newTVar Map.empty |
1808 | peerPort <- atomically $ newTVar 6881 -- BitTorrent client TCP port. | 1808 | peerPort <- atomically $ newTVar 6881 -- BitTorrent client TCP port. |
1809 | let mainlineDHT bkts wantip = DHT | 1809 | let mainlineDHT bkts wantip = DHT |