Two changing TCP sending limits

A TCP sender is transferring a large backup file over an established connection. Its next unsent data byte has sequence number 24800.


The receive window limits outstanding data according to the receiver's advertised capacity. The congestion window is a sender-side limit on outstanding data used to control traffic entering the network. Here, outstanding data means data already sent but not yet acknowledged.


Apply the following model at each snapshot:


maximum additional data=max⁡(0,min⁡(receive window,congestion window)−outstanding data).\text{maximum additional data} = \max\left(0,\min(\text{receive window},\text{congestion window})-\text{outstanding data}\right).


An acknowledgement value identifies the next expected byte, so all lower sequence numbers have been acknowledged. All window values below are effective sizes in bytes; use them as given without calculating how they were chosen.

  1. The sender receives an acknowledgement value of 21200. Its receive window is 4800 bytes and its congestion window is 5400 bytes.
  2. The sender immediately transmits exactly the maximum additional data permitted at that snapshot.
  3. It then receives an acknowledgement value of 23600. Its receive window is now 5200 bytes and its congestion window is now 4100 bytes.

There are no intervening acknowledgements, other transmissions, retransmissions, or sequence-number wraparound. Connection opening and closing do not occur, and enough application data is available.


Calculate the maximum additional data after the first acknowledgement and after the second acknowledgement, each in bytes as an exact integer. Also give the highest data-byte sequence number sent if the sender then uses its entire second allowance. Keep already outstanding bytes inside both window limits.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More TCP and IP Protocols Questions: