Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

TCP

The protocol that gives two programs a reliable, ordered stream of bytes over an unreliable network.

TCP provides a connection-oriented, reliable, ordered byte stream between two sockets using sequence numbers, acknowledgements, retransmission, flow control and congestion control.

Examples

  • The sensor's connection to the broker on port 1883 uses TCP, so readings arrive in order and lost segments are resent.

  • TCP turns the lossy Wi-Fi link between the greenhouse and the laptop into a reliable, ordered stream of bytes.

Read the full section →