When a file is transferred between two computers, two acknowledgement strategies are possible. In the first one, the file is chopped up into packets, which are individually acknowledged by the receiver, but the file transfer as a whole is not acknowledged. In the second one, the packets are not acknowledged
Answers
Answer:
When a file is transferred between two computers, two acknowledgment strategies are possible. In the first one, the file is chopped up into packets, which are individually acknowledged by the receiver, but the file transfer as a whole is not acknowledged. In the second one, the packets are not acknowledged individually, but the entire file is acknowledged when it arrives. Discuss the two approaches under two different scenarios: a reliable, and unreliable network.
When a file is transferred between two computers, two acknowledgement strategies are possible. In the first one, the file is chopped up into packets, which are individually acknowledged by the receiver, but the file transfer as a whole is not acknowledged. In the second one, the packets are not acknowledged
- It is preferable to acknowledge each packet independently if the network frequently loses packets so that the lost packets can be retransmitted.
- However, in the common case, sending a single acknowledgement at the end of the entire transfer saves bandwidth if the network is very dependable (but requires the entire file to be retransmitted if even a single packet is lost).
- If a transmitted packet is lost, certain TCP variations will resend it together with every packet that came before it. User Datagram Protocol (UDP) and other protocols do not offer packet recovery.
- The packets that two computers send to each other using the Transmission Control Protocol (TCP) may get lost en route, but they can be retrieved by retransmitting them.
#SPJ2