Quibank app: now on the App Store — free, works offline. Get the app ↗

Chapters0/30 ▾
  1. 1.Models, Media & Topologies0/5
    1. The OSI and TCP/IP models: layers, data units and devices
    2. Copper and fiber: categories, distances and connectors
    3. Installing cable: plenum ratings and Power over Ethernet
    4. Wireless basics: channels, bonding, antennas and identifiers
    5. Topologies and network types: domains, mesh, spine and leaf, SAN
  2. 2.IP Addressing, Subnetting & Routing0/5
    1. IPv4 subnetting with the block-size method
    2. Private, loopback and APIPA ranges, and traffic types
    3. How routers choose a path: prefix, distance, metric and summaries
    4. IPv6: shortening, address types, SLAAC and NAT64
    5. VLANs, inter-VLAN routing and NAT
  3. 3.Ports, Protocols & Services0/5
    1. Well-known ports: secure and cleartext pairs
    2. TCP and UDP: handshake, flow control and real-time traffic
    3. DNS and DHCP: transports, records, relays and reservations
    4. Time and monitoring protocols: NTP and SNMP
    5. Tunnels, IPsec and QoS markings
  4. 4.Network Operations0/5
    1. Network documentation and the device lifecycle
    2. Monitoring with baselines, SNMP and syslog
    3. Seeing traffic: flow data, TAPs, mirror ports and availability checks
    4. Disaster recovery and high availability
    5. Change management and configuration baselines
  5. 5.Network Security0/5
    1. Core security terms: CIA, risk vocabulary and zero trust
    2. Identity and access: AAA, 802.1X, RADIUS, TACACS+, MFA and RBAC
    3. Filtering and segmentation: ACLs, screened subnets and IDS
    4. Recognizing network attacks from their symptoms
    5. Hardening, wireless authentication and physical security
  6. 6.Network Troubleshooting0/5
    1. The troubleshooting methodology, step by step
    2. Cable faults, distance limits, PoE budgets and the right tester
    3. Reading interface counters and port states
    4. Addressing and service failures: masks, DHCP, duplicates, loops, ACLs, DNS
    5. Wireless and voice quality problems
Saved in this browser. Move it to another device →
← Ports, Protocols & Services

Chapter 3 · Lesson 2 of 5

TCP and UDP: handshake, flow control and real-time traffic

1 min read

TCP is connection-oriented. Before any data moves, the two ends run a three-way handshake: the client sends SYN with its initial sequence number, the server replies SYN-ACK with its own number and an acknowledgment, and the client finishes with ACK. FIN belongs to closing a connection, not opening one.

TCP flow control uses the window field. When a receiver's buffer fills, it advertises a smaller receive window, and the sender may not have more unacknowledged data outstanding than that window. This slows the sender without closing the connection. TTL, ICMP echo and DSCP markings play no part in it.

UDP is connectionless, with an 8-byte header and no handshake, acknowledgments or retransmission. TCP's minimum header is 20 bytes. Real-time voice uses UDP because a resent audio packet would arrive too late to play; a short glitch is better than a stall.

Example: in a call carrying 50 voice packets per second, each packet covers 20 ms of sound, so waiting for a retransmission would freeze the audio for longer than the packet is worth.

Check yourself

1. Which sequence of segments correctly describes how a TCP connection is established before any application data is sent?

2. A design team must choose a transport for real-time voice traffic in which a retransmitted packet would arrive too late to be played out. Which choice is appropriate, and why?

Facts checked 2026-11-16 · Sources: CompTIA Network+ certification overview, IANA Service Name and Transport Protocol Port Number Registry, RFC 7766: DNS Transport over TCP

CompTIA Network+ cheat sheet: every key fact on one page →