IP moves packets between devices. But a device runs many programs at the same time: a browser, a mail app, a video call. The transport layer (Layer 4) makes sure each piece of data reaches the right program. Its two main protocols, TCP and UDP, make very different choices about reliability and speed. This course explains both.
- 1. UDP: one quick question. The laptop asks the DNS server for the IP address of a name. There is no setup: just one message and one answer.
- 2. TCP: a reliable conversation. The browser opens a TCP connection to the web server. Every byte is numbered and confirmed.
What you'll learn
What Layer 4 adds
How port numbers deliver data to the right application, and the ports every CCNA student should know.
How TCP stays reliable
The header, the three-way handshake, sequence numbers, acknowledgements and resending lost data.
Flow control and closing
Windowing, slowing down when the network is congested, and ending a connection with FIN or RST.
When UDP is better
The small UDP header, why voice, video and DNS use UDP, and how to choose between TCP and UDP.
Skills you'll gain
- Port numbers
- Sockets
- TCP header
- 3-way handshake
- Sequence numbers
- Windowing
- FIN & RST
- UDP
- netstat & ss
Who is this for?
This course is for CCNA students and anyone starting out in networking. If you know what an IP address is and roughly how the OSI layers fit together, you're ready.