Networking Concepts

TCP Basics

What TCP does, how its connections and header work and where it sits in the network stack.

Is TCP layer 3 or 4?

TCP is a layer 4 protocol, the transport layer. IP is layer 3. Here is what each layer does and how they fit together in a network packet.

2 min read

What are TCP connections?

A TCP connection is a tracked session between two endpoints, set up by a handshake and identified by IP addresses and ports. Here is how one works.

3 min read

What is TCP for dummies?

TCP is the internet protocol that makes sure data arrives complete and in order, even when packets get lost. Here is a plain-language guide for beginners.

2 min read

What is the format of the TCP header?

The TCP header is at least 20 bytes and holds ports, sequence numbers, flags, window size, and a checksum. Here is what each field does and why.

2 min read

Related topics

More in networking concepts