[bittorrent] BT protocol Q

Olaf van der Spek olafvdspek at gmail.com
Fri Apr 29 08:05:31 EDT 2005

On 4/29/05, Justin Cormack <justin at street-vision.com> wrote:
> On Fri, 2005-04-29 at 13:07 +0200, Olaf van der Spek wrote:
> > On 4/28/05, Justin Cormack <justin at street-vision.com> wrote:
> > >
> > > Does anyone know if all BT clients that allow multiple downloads from
> > > the same session use different peer ids for each download? The
> > > implication in the BT spec is that they should, but like many things it
> > > is a bit vague. It just makes a difference to whether you need a hash
> > > table of peers to each torrent or a single global one.
> >
> > Isn't the only safe way to not assume anything about peer IDs?
> Why do you say that?
> They are going to have to be unique as you need to identify peers you
> are already connected to (otherwise you tend to end up with a pair of
> connections to each peer, one initiated from each end).

Yes, you can use it for that.
Although I simply use IP address myself.

More information about the BitTorrent mailing list