[bittorrent] spare bits in bitfield...

Brian Dessent brian at dessent.net
Mon Oct 17 00:42:57 EDT 2005

> CS FYP 2005 wrote:
> the spec said that there are spare bits at the end of the bitfield and
> they are set to zero...
> how can i know whether the "zero" at the end is really spare bits or
> it is indicating the peer do not have that piece?

Because you know how many pieces there are.


More information about the BitTorrent mailing list