What is Transmission Control Protocol?
The protocol that gives the internet reliable, ordered connections. Before any data moves, the two sides run a three-way handshake: SYN, SYN-ACK, ACK. Web, email and SSH traffic all ride on TCP.
TCP sits at the transport layer, above IP. IP moves individual packets with no guarantees; TCP numbers the bytes, acknowledges what arrived, retransmits what was lost and puts everything back in order. A connection opens with the three-way handshake: the client sends SYN, the server answers SYN-ACK, and the client confirms with ACK. Each side is identified by an IP address and a port, which is why firewall rules and connection logs are written in those terms. For analysts the handshake is diagnostic: a SYN with no reply suggests a filtered port, a burst of SYNs to many ports is a scan, and a flood of half-open connections is a classic denial-of-service pattern.
Source: IETF RFC (RFC 9293).
Practice it in a lab
Free, hands-on labs that teach Transmission Control Protocol.
- See the TCP three-way handshake in Wireshark (beginner, ~35 min)
- Trace one HTTPS request end to end: DNS, routing, TCP, TLS, HTTP (intermediate, ~75 min)
- Build a minimal userspace TCP/IP stack over a Linux TUN device (stdlib Python, real 3-way handshake) (advanced, ~120 min)