True or false? Please explain your answers.
Suppose Host A is sending Host B a large file over a TCP connection. The number of unacknowledged bytes that A sends to B cannot exceed the size of the receive buffer in Host B.
Guide On Rating System
Vote
True.
The receive buffer in Host B is a finite memory space allocated to store incoming data. When Host A sends data to Host B over a TCP connection, it is received and stored in Host B's receive buffer until Host B acknowledges the receipt of that data. Until an acknowledgment is received from Host B, the number of unacknowledged bytes remains in the receive buffer.
If the number of unacknowledged bytes sent by Host A exceeds the size of the receive buffer in Host B, the receive buffer will become full. In such a scenario, Host B may not be able to receive any further data from Host A until it acknowledges and frees up space in its receive buffer by processing the existing data.
Therefore, to ensure smooth and efficient data transfer between Host A and Host B, the number of unacknowledged bytes sent by Host A should not exceed the size of the receive buffer in Host B.