[bittorrent] data exchange
vsh426 at gmail.com
Mon Mar 30 05:46:30 EDT 2009
thanks for the links.
are there any resources specifically about the on-wire protocol?
the client sets up tcp connections with the (some of the) peers it retrieves
from tracker and starts with a handshake, then it continues with "an
alternating stream of length prefixes and messages". the files are sent in
the 'piece' messages?
On Mon, Mar 30, 2009 at 11:37 AM, Adrian Ulrich <torrent at blinkenlights.ch>wrote:
> > 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?
> > and if someone can point out a document with a detailed explanation of
> > working of the protocol, id be very grateful
> BitTorrent mailing list
> BitTorrent at lists.ibiblio.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the BitTorrent