TAG
Computer_Network
34 notes
- 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.
- 3.1 CDNhistorical
A CDN uses geographically distributed proxy servers to cache content close to users, reducing distant requests and improving loading speed.
- 3.2 DNShistorical
DNS resolves domain names to addresses. These notes introduce records such as A, AAAA, and CNAME, followed by the resolution process and related concepts.
- 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.
- 1.9 UDPhistorical
UDP is a connectionless transport protocol that avoids connection-setup overhead. These notes record its characteristics, use cases, and differences from TCP.
- 1.10 Transport Layerhistorical
This page links to TCP and UDP notes for studying the mechanisms and characteristics of these transport-layer protocols.
- 2.4 Fiddlerhistorical
Fiddler proxies requests between clients and servers to inspect HTTP traffic. These notes cover request inspection and performance-analysis views.
- 2.5 HTTP KeepAlivehistorical
HTTP KeepAlive reuses a TCP connection for multiple requests, reducing repeated connection setup. These notes explain the mechanism through HTTP version changes.
- 2.6 HTTPhistorical
HTTP requests contain a request line, headers, and a body, with a corresponding structure for responses. These notes start with message formats and basic HTTP usage.
- 2.7 HTTPShistorical
HTTPS adds SSL/TLS to HTTP to protect transmitted content with encryption. These notes explain its operation starting from the risks of plaintext HTTP.
- 2.8 HTTP Methodshistorical
HTTP Methods: HTTP/1.0 defined three request methods: GET, POST, and HEAD. HTTP/1.1 added six request methods: OPTIONS, PUT, PATCH, DELETE, TRACE, and CONNECT.
- 2.9 HTTP Cachehistorical
HTTP caching allows browsers to reuse responses and reduce repeated transfers. These notes examine cache decisions and the related request and response headers.
- 2.11 RESTfulhistorical
RESTful design is an architectural style based on HTTP. These notes organize interface conventions around resources and their state transfers.
- 2.12 URL Encodinghistorical
URL Encoding: A URL can use only English letters, Arabic numerals, and certain punctuation marks; other text and symbols cannot be used directly. Other characters need to be escaped using % character encoding.
- 2.13 Cookie and Sessionhistorical
The server creates a session and sends its identifier to the browser in a cookie. Later requests carry that identifier so the server can recognize the session.
- 2.14 What Happens After Entering a URL in the Browserhistorical
After a URL is entered, the browser parses it, resolves DNS, establishes a connection, and requests the resource. These notes follow that sequence step by step.
- 2.15 Browser Same-Origin Policy and Cross-Origin Accesshistorical
Two URLs share an origin when their scheme, host, and port match. These notes use address comparisons to explain the same-origin policy and cross-origin requests.
- 4.1 Application Layerhistorical
This page links to HTTP and DNS notes for further reading on the structure and operation of application-layer protocols.
- 5.1 Network Layerhistorical
These network-layer notes begin with routers and link related topics such as IP, ARP, ICMP, and NAT.
- 5.2 ARPhistorical
ARP resolves an IP address to a MAC address, helping a host determine the link-layer destination for the next hop.
- 5.3 ICMPhistorical
ICMP carries control messages between hosts and routers. These notes examine their meaning and roles at the network layer.
- 5.4 IP Protocolhistorical
IP provides connectionless, unreliable, best-effort packet delivery between hosts. These notes describe its role at the network layer.
- 5.5 NAThistorical
NAT translates between private and public addresses, allowing multiple hosts to share limited public IP addresses.
- 6.1 Data Link Layerhistorical
These data-link-layer notes introduce bridges and switches, then record concepts such as MTU and their relationship to network-layer transmission.
- 7.1 Computer Networkhistorical
Computer networks organize communication functions into layers. These notes connect the physical, data-link, network, transport, and application layers.