Computer Networks
34 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 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.
- 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.
- 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.
- 1.4 TCPhistorical
TCP provides connection-oriented, reliable byte-stream transport between processes. These notes cover connection setup and teardown, reliability, and flow control.
- 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.
- 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.
- 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.
- 2.1 HTTP Versionshistorical
HTTP versions differ in how they use connections and transmit requests. These notes compare the changes starting with the cost of closing connections after requests.
- 2.2 WebSockethistorical
WebSocket provides an ongoing communication protocol between clients and servers. These notes introduce server push through the limits of client-initiated HTTP requests.
- 2.3 HTTP Status Codeshistorical
HTTP status codes describe request outcomes and are grouped from 1xx to 5xx. These notes cover informational, successful, redirect, and error responses.