Session Notice: Local workspace state expired. Reload this page (F5 or Ctrl+R) to re-sync your session. RFC 6455 · RFC 9113 · RFC 1035

Network Protocol & Transport Reference

PacketLab documents the core wire protocols behind browser networking—from DNS resolution and TCP handshakes to HTTP/2 multiplexing, RFC 6455 WebSocket frames, and structured JSON payloads.

RFC 6455

WebSockets & Framing

HTTP/1.1 101 upgrade headers, SHA-1 accept keys, opcodes, masking, and ping/pong heartbeats.

Open specification →
RFC 1035

DNS Resolution & Records

Recursive lookup paths, A/AAAA/CNAME/TXT records, TTL negative caching, and DoH/DoT.

Open specification →
RFC 9113

HTTP Request Lifecycle

Safe vs. idempotent methods, ETag validation, status code groups, and HTTP/2 vs. HTTP/3.

Open specification →
RFC 8259

JSON & Event Envelopes

Grammar rules, 64-bit integer precision limits, typed socket envelopes, and NDJSON streaming.

Open specification →

RFC 6455 WebSocket Frame Header

After the initial HTTP upgrade, every WebSocket packet begins with a compact binary header (2 bytes server-to-client, or 6 bytes client-to-server with the 32-bit masking key).

FIN (1b)
RSV (3b)
Opcode (4b)
MASK (1b)
Payload Length (7 / 16 / 64b) + Payload

Protocol Term Cards

Click the card below to flip between the networking term and its technical definition, or add your own reference cards to the deck.

Term · 1 / 8
101 Switching Protocols

Common Ports & HTTP Status Lookup

Code / PortProtocol / MeaningLayerNotes
53DNS (UDP/TCP)ApplicationStandard hostname-to-IP resolution queries.
80HTTP (Plaintext)ApplicationUnencrypted web traffic; usually redirects to 443.
443HTTPS / WSS / DoHApplicationTLS-encrypted HTTP, WebSockets, and DNS over HTTPS.
853DNS over TLS (DoT)TransportDedicated TLS socket for encrypted DNS lookups.
101Switching ProtocolsHTTP StatusConfirms protocol upgrade (e.g. HTTP/1.1 to WebSocket).
204No ContentHTTP StatusRequest succeeded with an intentionally empty body.
304Not ModifiedHTTP StatusCached ETag/Last-Modified copy is still valid.
429Too Many RequestsHTTP StatusRate limit exceeded; check Retry-After header.

OSI Model Quick Reference

LayerNameData UnitExamples
7ApplicationMessageHTTP/2, WebSocket, DNS
6PresentationEncoded DataTLS 1.3, UTF-8, Gzip, JSON
4TransportSegment / DatagramTCP, UDP, QUIC
3NetworkPacketIPv4, IPv6, ICMP
2Data LinkFrameEthernet (802.3), Wi-Fi (802.11)