Exercise 1 - Part 4

Suppose a machine A (client), whose TCP entity has already established a connection with the TCP entity of another machine B (server). Both entities, A and B, manage reception windows of 512 and 256 octets respectively, and maximum segment sizes to send (MSS) of 64 and 128 octets also respectively. Consider that each segment's transmission takes place at the start of a 'tick' on the clock, and each segment suffers a constant delay of one 'tick' in the network until it reaches the opposite entity. Furthermore, if two segments are to be sent simultaneously, they are sent consecutively.

Represent the TCP frame exchange diagram, where A sends 4 segments to B, where the third of them is lost and does not arrive at B. The timer has a value of 3 clock ticks and receivers store messages that arrive out of order. Assume that the sending of acknowledgments follows the policy of ACK generation described here. Additionally, assume that A starts with SN=1024 and B with SN=2048.

Client Server
SN AN SYN ACK FIN W MSS Data Len SN AN SYN ACK FIN W MSS Data Len