Networking

TCP

TCP is a reliable transport protocol that guarantees ordered, acknowledged delivery of data packets over the internet.

Diagram

  3-Way Handshake:
  Client ── SYN ──────────▶ Server
  Client ◀── SYN-ACK ─────── Server
  Client ── ACK ──────────▶ Server
  Connection established → HTTP data flows

In Depth

TCP (Transmission Control Protocol) is the transport-layer protocol that underlies HTTP and HTTPS. It establishes a connection and ensures all data packets arrive in order.

Related Terms