liveBook · Manning

Chapter 22: Transmission Control Protocol and User Datagram Protocol

What you will learn in chapter 22 of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

This chapter introduction situates the Transport Layer after Layers 1–3 and previews coverage of TCP and UDP.

After this chapter you will be able to

What it builds on

Section by section

Introduction

This chapter introduction situates the Transport Layer after Layers 1–3 and previews coverage of TCP and UDP.

22.1 The role of Layer 4

This section explains why delivering data to the right host is not enough: Layer 4 helps deliver it to the right application process while relying on lower layers.

Key terms: Layer 4, Layer 3, application process, Layer 4 segments, Application Layer

22.1.1 Port numbers

This section explains how TCP and UDP port numbers direct messages to application services, how ports work in a request and reply, and how port numbers are grouped into ranges.

Key terms: Layer 4 port, destination port, listen on, TCP, UDP, source port, ephemeral port, TCP segment, IANA, well-known ports

22.1.2 Session multiplexing

This section explains how source ports keep simultaneous client-server sessions separate and how a pair of sockets identifies a session.

Key terms: session, session multiplexing, source port, ephemeral port range, socket, five-tuple, client socket, server socket, Layer 4 protocol

22.2 TCP and UDP

Introduces TCP and UDP as the two main Layer 4 protocols and explains why comparing them matters for the CCNA exam.

22.2.1 Transmission Control Protocol

This section explains how TCP establishes and ends connections, orders and acknowledges data, retransmits missing or corrupted segments, and controls how much data a sender sends.

Key terms: connection-oriented, three-way handshake, SYN, ACK, FIN, four-way handshake, Sequence Number, Acknowledgment Number, data sequencing, retransmission

22.2.2 User Datagram Protocol

This section explains UDP’s limited delivery mechanisms and contrasts its independent datagrams with TCP’s data stream.

Key terms: UDP, port numbers, session multiplexing, flow control, data sequencing, UDP header, checksum, error detection, retransmission, datagram

22.2.3 Comparing TCP and UDP

This section compares TCP’s overhead with UDP’s lighter operation and explains why different applications choose one or the other.

Key terms: data overhead, processing overhead, time overhead, three-way handshake, TCP, data integrity, file transfers, HTTP, HTTPS, SMTP

22.3 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 21: IPv6 routing Chapter 23: Standard access control lists →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.