

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Give two reasons why an application might choose UDP over TCP, and two reasons why it might choose TCP over UDP. Your reasons should be tied to concrete service properties (e.g., reliability, ordering, connection setup, congestion control).
Assume 1) the TCP receiver initially expects byte 100 (so the expected sequence number is 100), 2) the delayed ACK timer is 500ms, and 3) at most one segment can have ACK pending at the receiver. We have the following events:
Consider host A is sending TCP segments to host B (cumulative ACK). Please fill in the numbers in the figure below.
Question 6 (Congestion Control) โ 20 points Assume a TCP sender applies AIMD as the congestion control algorithm. The congestion window ๐๐ค๐๐ is measured in MSS (maximum segment size) and is updated once per RTT. At the beginning of RTT ๐ก, the senderโs window is ๐๐ค๐๐(๐ก). Assume cwnd ( 1 )= 1 MSS an initial ssthresh = 16 MSS. The following loss events occur: ๏ท At the end of RTT 7, a loss is detected by triple duplicate ACK. ๏ท At the end of RTT 11, a loss is detected by timeout. ๏ท After that, there are no further losses until RTT 18. Question: Write the value of cwnd ( t ) for RTT t = 1 , 2 ,โฆ , 16. t cwnd ( t )