[bittorrent] data exchange

Adrian Ulrich torrent at blinkenlights.ch
Mon Mar 30 02:07:39 EDT 2009


Hi,

> i am trying to understand the bt protocol and found that all information
> that is sent is bencoded

Nope. The on-wire-protocol doesn't use bencoding itself.
Bencoding is just used with tcp-trackers and EPROTO messages.

> are the file pieces to be sent also bencoded?

No.

> and if someone can point out a document with a detailed explanation of the
> working of the protocol, id be very grateful

http://www.bittorrent.org/beps/bep_0003.html
http://wiki.theory.org/BitTorrentSpecification
http://en.wikipedia.org/wiki/BitTorrent_(protocol)


Regards,
 Adrian




More information about the BitTorrent mailing list