Ch. 3 - Transport Layer Flashcards
Define TCP
Transmission Control Protocol - provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. TCP is tightly linked with IP and usually seen as TCP/IP in writing.
UDP
User Datagram Protocol - Unreliable, connectionless protocol.
Transport services & protocols
provide logical communication between application processes running on different hosts
Transport vs. network layer
Transport: communication between processes
Network: communication between hosts
RDT
Reliable Data Transfer
What is a handshake?
sender/receiver agree:
* to establish connection (each knowing the other willing to establish connection)
* on connection parameters (e.g., starting seq #s)
What is a connection closure?
This is a special message to securely close a connection.
ECN
Explicit Congestion Notification
QUIC
Quick UDP Internet Connections
TCP Fairness goal
if K TCP sessions share same bottleneck link of bandwidth R, each should have average rate of R/K
Congestion Control Mechanisms in TCP (4)
Slow start, AIMD/congestion avoidance, fast retransmit, fast recovery
AIMD (Congestion Avoidance)
Additive Increase Multiplicative Decrease
senders can increase sending rate until packet loss (congestion) occurs, then decrease sending rate to half.
Slow Start
Sender gradually increases the number of packets sent in each round trip time (RTT) until congestion is detected.
Fast Retransmit
Detects packet loss and retransmits the lost packet immediately without waiting for the RTT timeout.
Fast Recovery
After a fast retransmit, the sender reduces the congestion window to half its size and then increases it slowly, similar to congestion avoidance.