Module vincenzo::tcp_wire

source ·
Expand description

Documentation of the “TCP Wire” protocol between Peers in the network. Peers will follow this protocol to exchange information about torrents.

Modules

Structs

  • A Block is a subset of a Piece, pieces are subsets of the entire Torrent data.
  • The representation of a Block.

Constants

  • The default block_len that most clients support, some clients drop the connection on blocks larger than this value.
  • Protocol String String identifier of the string “BitTorrent protocol”, in bytes.