Skip to content
BENIBIX Learn

Transmission Control Protocol (TCP)

Infrastructure🌐 NetworkingNetwork Basics

Also known as TCP, TCP Connection, TCP Handshake

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

Think of it like

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

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.

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.
TCP is the top lane. Packet 3 goes missing, the receiver asks again, and it is sent once more.

Common mistake

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

Key takeaways

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

Compare

Learn it properly