summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/PeerWire/Handshake.hs
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-01 09:07:54 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-01 09:07:54 +0400
commitc80221283ceb618195eb7fde5174f362aea0a27a (patch)
tree7d29769f51aa84cc2c4f070c51d73645edf1b16e /src/Network/BitTorrent/PeerWire/Handshake.hs
parentb705ef2baa0930aff3c43c31f3ea29caf969512b (diff)
~ Add documentation to client info.
Diffstat (limited to 'src/Network/BitTorrent/PeerWire/Handshake.hs')
-rw-r--r--src/Network/BitTorrent/PeerWire/Handshake.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Network/BitTorrent/PeerWire/Handshake.hs b/src/Network/BitTorrent/PeerWire/Handshake.hs
index a05ecc33..7a250782 100644
--- a/src/Network/BitTorrent/PeerWire/Handshake.hs
+++ b/src/Network/BitTorrent/PeerWire/Handshake.hs
@@ -34,20 +34,20 @@ import Network.BitTorrent.PeerWire.ClientInfo
34-- peer. 34-- peer.
35-- 35--
36data Handshake = Handshake { 36data Handshake = Handshake {
37 -- ^ Identifier of the protocol. 37 -- | Identifier of the protocol.
38 hsProtocol :: ByteString 38 hsProtocol :: ByteString
39 39
40 -- ^ Reserved bytes used to specify supported BEP's. 40 -- | Reserved bytes used to specify supported BEP's.
41 , hsReserved :: Word64 41 , hsReserved :: Word64
42 42
43 -- ^ Info hash of the info part of the metainfo file. that is 43 -- | Info hash of the info part of the metainfo file. that is
44 -- transmitted in tracker requests. Info hash of the initiator 44 -- transmitted in tracker requests. Info hash of the initiator
45 -- handshake and response handshake should match, otherwise 45 -- handshake and response handshake should match, otherwise
46 -- initiator should break the connection. 46 -- initiator should break the connection.
47 -- 47 --
48 , hsInfoHash :: InfoHash 48 , hsInfoHash :: InfoHash
49 49
50 -- ^ Peer id of the initiator. This is usually the same peer id 50 -- | Peer id of the initiator. This is usually the same peer id
51 -- that is transmitted in tracker requests. 51 -- that is transmitted in tracker requests.
52 -- 52 --
53 , hsPeerID :: PeerID 53 , hsPeerID :: PeerID