Question: Suppose two hosts, A and B, are separated by 20,000 kilometers and are connected by a link of R=2 Mbps, and there are 4 routers between A and B.
Suppose the propagation speed over the link is 2.5*108 meters/sec, average queuing time is 2ms, processing 3ms on each router.
Suppose sending a file of 800,000 bits from Host A to Host B. Presume the file is sent continuously as one large message.
How much time for B to receive the whole file after A sent out the first bit?
I can't seem to get this to work for some reason could somebody give me a code to compare and test?