[bittorrent] data exchange

vishakh harikumar 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:

> 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)<http://en.wikipedia.org/wiki/BitTorrent_%28protocol%29>
>
>
> Regards,
>  Adrian
>
> _______________________________________________
> BitTorrent mailing list
> BitTorrent at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/bittorrent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/bittorrent/attachments/20090330/0be6fdfb/attachment.html 


More information about the BitTorrent mailing list