# Transmission Control Protocol (TCP)

> Rules for sending data so it all gets there, in order. Lost packets are sent again.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** TCP, TCP Connection, TCP Handshake

## Think of it like

It is like a phone call. You both say hello first, and you ask again if you miss a word.

## Definition

TCP is the set of rules most apps use to send data safely. Before sending, the two machines agree to talk in a short greeting called a handshake. Each packet gets a number. The receiver says which packets came, and the sender sends lost ones again. The data comes out whole and in the right order.

## Example

Emma's browser loads a web page over HTTP, and the bytes travel over TCP. One packet drops on the way. TCP sends it again, and the page is still whole.

## Why it matters

Web pages, email and file copies must arrive whole. TCP makes that true on a network that loses packets.

## Common mistake

Thinking TCP makes a link faster. The checks and resends add a little delay in return for safety.

## Three principles

- **Handshake first.** The two ends agree before sending.
- **Numbered packets.** So they can be put in order.
- **Resend lost ones.** Nothing is skipped.

## Related terms

- [User Datagram Protocol (UDP)](https://learn.benibix.com/term/infrastructure/user-datagram-protocol)
- [Network Packet](https://learn.benibix.com/term/infrastructure/packet)
- [Network Port](https://learn.benibix.com/term/infrastructure/port)
- [HyperText Transfer Protocol (HTTP)](https://learn.benibix.com/term/infrastructure/http)
- [Open Systems Interconnection (OSI) Model](https://learn.benibix.com/term/infrastructure/osi-model)

## Told apart from

- [TCP vs UDP](https://learn.benibix.com/compare/tcp-vs-udp): People think TCP and UDP are two names for the same thing. Both send packets, but TCP checks that every packet arrives and in the right order. It sends lost ones again. UDP sends and does not check. TCP is for pages and files that must be whole. UDP is for calls and games, where late data is no use.

## Taught in

- [TCP and UDP Protocols](https://learn.benibix.com/learn/infrastructure-networking/tcp-and-udp-protocols): Computer Networking, 6/13

![One message cut into five numbered packets. In the top lane, marked TCP, packet 3 is lost, the receiver asks for it, it is sent again, and all five arrive in order. In the bottom lane, marked UDP, packet 3 is lost and the receiver carries on with four.](https://learn.benibix.com/diagrams/inf2-tcp-udp.svg)

---

Source: https://learn.benibix.com/term/infrastructure/transmission-control-protocol
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
