[bittorrent] Bitfield data... First bits meaning?

Adrian Ulrich torrent at blinkenlights.ch
Sat Dec 9 09:47:22 EST 2006

> But what I actually get is:
> <len=0001+X><id=5><bitfield=00001111111111111111111111000000...>
> I also know that I'm receiving this bitfield from a BitComet client...

- How do you know that this client is a seeder?

- A seeding client may choose to send an incomplete bitfield and
  fillup the missing parts with 'have' messages.
  (Obscure workaround for ill-Traffic-Shaping or Seeding 'help')

- Verify that you are reading at the correct offset/data using
  a network sniffer like 'wireshark' [1]


1: http://www.wireshark.org/download.html
   (aka Ethereal)

            A. Top posters
            Q. What's the most annoying thing on Usenet?

More information about the BitTorrent mailing list