summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Exchange.hs')
-rw-r--r--src/Network/BitTorrent/Exchange.hs16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Network/BitTorrent/Exchange.hs b/src/Network/BitTorrent/Exchange.hs
index 862611f9..98b19357 100644
--- a/src/Network/BitTorrent/Exchange.hs
+++ b/src/Network/BitTorrent/Exchange.hs
@@ -20,6 +20,8 @@ module Network.BitTorrent.Exchange
20 , P2P 20 , P2P
21 , runP2P, spawnP2P 21 , runP2P, spawnP2P
22 , awaitEvent, yieldEvent 22 , awaitEvent, yieldEvent
23
24 , disconnect, protocolError
23 ) where 25 ) where
24 26
25import Control.Applicative 27import Control.Applicative
@@ -181,13 +183,13 @@ requireExtension required = do
181-----------------------------------------------------------------------} 183-----------------------------------------------------------------------}
182 184
183-- | 185-- |
184-- +----------+---------+ 186-- > +----------+---------+
185-- | Leacher | Seeder | 187-- > | Leacher | Seeder |
186-- |----------+---------+ 188-- > |----------+---------+
187-- | Available| | 189-- > | Available| |
188-- | Want | Want | 190-- > | Want | Want |
189-- | Fragment | | 191-- > | Fragment | |
190-- +----------+---------+ 192-- > +----------+---------+
191-- 193--
192-- 194--
193-- properties: 195-- properties: