1. 1.1 TCP Three-Way Handshakehistorical

    The TCP three-way handshake establishes a connection and synchronizes information such as sequence numbers. These notes follow client and server states through the exchange.

  2. 1.2 TCP Four-Way Handshakehistorical

    TCP closure handles each sending direction separately. These notes use client-initiated closure to explain the four-way exchange through state transitions.

  3. 1.3 TCP Flow Controlhistorical

    TCP flow control limits the sender's rate so the receiver can keep up. The receiver advertises how much data it can accept through the sliding window.

  4. 1.4 TCPhistorical

    TCP provides connection-oriented, reliable byte-stream transport between processes. These notes cover connection setup and teardown, reliability, and flow control.

  5. 1.5 TCP KeepAlivehistorical

    If one endpoint loses power or exits unexpectedly, the other may retain the TCP connection. KeepAlive probes address this prolonged resource retention.

  6. 1.6 TCP CLOSE_WAIThistorical

    The passive closer of a TCP connection enters CLOSE_WAIT. These notes examine the state and related issues through half-closed connections.

  7. 1.7 TCP Congestion Controlhistorical

    TCP congestion control prevents excessive traffic from overloading the network. These notes describe slow start, congestion avoidance, and related algorithms.

  8. 1.8 TCP TIME_WAIThistorical

    The endpoint that actively closes a TCP connection enters TIME_WAIT after the final ACK. These notes discuss retransmission and packets from old connections.