Exercise 2 - Part 4
Suppose a machine A, whose TCP entity is about to establish a connection with the TCP entity of another machine B. Both entities, A and B, manage reception windows of 500 and 400 octets respectively, and maximum segment sizes to send (MSS) of 100 and 128 octets also respectively. Consider that each segment's transmission takes place at the start of a 'tick' on the clock, that the transmission time is negligible, and that each segment suffers in the network a constant delay of one 'tick' until it reaches the opposite entity. Furthermore, if two segments are to be sent simultaneously, they are sent consecutively. In this exercise, it is assumed that congestion control is disabled.
After the connection establishment (seen in Part 1 of this exercise), A sends 4 segments to B and the third one is lost on its first transmission. There is a single retransmission timer of 4 ticks and, if it expires, only the oldest segment is retransmitted. For this solution, consider that TCP does not discard out-of-sequence received segments. Represent this message exchange.