APPLICATION LAYER
PEER TO PEER PARADIGM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A peer C in a P2P BitTorrent system is downloading a file containing four blocks (block 0, ____, block 3). Peer C is connected with three other peers A, B, D that download the same file. Peer A currently has blocks (0, 3); peer B has blocks (0, 1); and peer D has blocks (2, 3). If peer C has already downloaded block 2, what will be the next block it will download?
|
Bloc 0
|
|
Bloc 1
|
|
Bloc 2
|
|
Bloc 3
|
Explanation:
Detailed explanation-1: -A BitTorrent download is started by opening the torrent file in the BitTorrent client. The tracker keeps a log of peers that are currently downloading a file, and helps them find each other. The tracker is not directly involved in the transfer of data and does not have a copy of the file.
Detailed explanation-2: -Typically, BitTorrent uses TCP as its transport protocol for exchanging pieces, and it uses HTTP for tracker comms. The well known TCP port for BitTorrent traffic is 6881-6889 (and 6969 for the tracker port). The DHT extension (peer-to-peer tracker) uses various UDP ports negotiated by the peers.
There is 1 question to complete.