Respuesta :
Answer:
3424 datagrams would be required
Explanation:
Mp3 file size = 5 million bytes
assuming the data is carried in TCP segments with each TCP segment have 20 bytes of header
Therefore each datagram can carry at least : ( 1500 - 40 ) = 1460 bytes
Therefore the number of datagrams required = [tex][\frac{5*10^6}{1460} ][/tex] = 3424
The MP3 file to be transmitted does have a size of 5 million bytes or [tex]5 \times 10^6\ \ bytes[/tex]. Suppose that information is moved via TCP segments with a TCP header size of 20 bytes.
- Each IP header is 20 bytes long, and the TCP header is also 20 bytes long. Therefore, we use 40 bytes out of a total of 1500 bytes for IP and TCP headers.
- Then, in each datagram, we can send [tex]1500-40 = 1460[/tex] bytes of MP3 files. So, overall number of data packets necessary:
[tex]= \frac{\text{Total MP3 Size}}{\text{ MP3 Size}}[/tex]
- calculating the each datagram that is capable of transporting:
[tex]\to \frac{5000000}{ 1460} \\\\ \to 3424.65753425 \\\\\to 3425 \ \ Datagrams.[/tex]
- Except for the last one, all datagrams would be 1500 bytes in size. Your final datagram will be 1000 bytes long, i.e,
[tex]\to 1460 \times 0.65753425 \\\\ \to 960 + 40 \ \text{(Bytes of Header)} \\\\ \to 1000 \ Bytes\\[/tex]
Learn more:
brainly.com/question/16666220