Skip to content
Commitwise
Menu

TCP

The transport protocol that delivers a reliable, ordered stream of bytes over a connection.

Definition

TCP opens a connection with a handshake, numbers every byte, acknowledges what arrived, resends what was lost and controls its sending rate to avoid overloading the receiver and the network. It has no message boundaries, so applications frame their own messages. HTTP/1.1, HTTP/2, databases and SSH run over TCP.

In practice

A lost packet doesn't lose data; the app just receives the response a round trip or two later.

Learn it in context

Lessons that use this term.

Related terms

Esc

Type to search the whole site.