[bittorrent] TCP question
torrent at blinkenlights.ch
Thu Jul 6 12:28:01 EDT 2006
> after peer B has gotten a piece from peer A ,peer B download other piece
> from other peer. Does the TCP connection between A and B be cut down
> immediately or remained ?If the TCP connection remain,how long it remain ?
The TCP connection will remain established.
As long as one (or both) client is 'INTERESTED' (or even unchoked) it
wouldn't make sense to terminate an established connection.
Closing the connection would make sense if:
- Peer B detects that peer A sends broken data
- Peer B waited $much_too_long for any data
- A & B are not interested in eachother
(eg. both clients got all pieces)
More information about the BitTorrent