[bittorrent] TCP question

Adrian Ulrich torrent at blinkenlights.ch
Sun Jul 16 04:53:02 EDT 2006


> if peer B has not a TCP connection with peer A ,it select peer to download according to "rarest
> piece first" strategy, in this case ,peer  A maybe not be selected by B
> because it maybe has not rarest piece for B.

I don't know if i understand you correct: but IMHO your logic is
flawed ;-) :

To get rares-first working, you'll need the Bitfield of other peers.
In order to get a bitfield, your client needs to connect to a peer
and start the handshake.





More information about the BitTorrent mailing list