Outline: TCP details



TCP Stream Model



TCP Stream Example



TCP Sliding Window
Sender State



TCP Sliding Window
Receiver State



TCP Adaptive Retransmission



TCP Timeout and Retransmissions



In-class exercise

  1. will our actual (measured) RTT be higher or lower than .3s?
  2. will our computed RTT become higher or lower than .3s?
  3. for the first few packets, is our computed RTT higher or lower than our actual RTT?
  4. what are possible consequences of the gap between our computed and actual RTT?



Timeouts and Congestion
Jakobson/Karels algorithm



TCP Flow Control



TCP Congestion Control



Transport-Layer Performance