In TCP Sliding Window, what would be the value of the receiver window (rwnd) for host X if the receiver, host Y, has a buffer size of 6000 bytes and 2000 bytes of received and unprocessed data?

In TCP Sliding Window, what would be the value of the receiver window (rwnd) for host X if the receiver, host Y, has a buffer size of 6000 bytes and 2000 bytes of received and unprocessed data? Correct Answer 4000 bytes

The correct answer is option 4.

Concept:

A sliding window is used for flow control in the Transmission Control Protocol (TCP). The amount of unacknowledged bytes, x, that one system can communicate to another is determined by the TCP sliding window. The value of x is determined by two factors:

  • The size of the send buffer on the sending system
  • The size and available space in the receive buffer on the receiving system

The given data,

Buffer size = 6000 bytes

Buffer size=2000 bytes

The value of receiver window (rwnd) = 6000 - 2000 = 4000.

Host B can only accept 4000 bytes of data before its buffer overflows. In its next segment to A, Host B promotes this value.

Hence the correct answer is 4000 bytes.

Related Questions