pun¡sher wrote:
Your tool lists all peers and seeds connected to the tracker, but bittornado and any other client only ask for a small list of peers out of this pool. The peers/seeds bittornado shows, are those which he currently knows of and could try to connect to.
I'm thinking that the difference might be accounted for by hosts that are a) invalid or b) unreachable. That means that my client tests every ip in the pool somehow, whether an active connection attempt or by running some filter over them.
Still, when you say a small list of peers, why would it only only get one-two peers when there are only a total of 5-10? Why not grab all of them? The overhead of tcp and the protocol amount for more than 5-10 ips. That would easily fit in a tcp packet.