Question

Difficulty: MediumTCP vs UDP Comparison and Protocols

Match each transport layer protocol operational characteristic or header structure property on the left with its corresponding description on the right.

  • 20-byte minimum header sizeTCP header structure accommodating sequence numbers, window size, and control flags
  • 8-byte fixed header sizeUDP header structure containing only source port, destination port, length, and checksum
  • Explicit Congestion Notification (ECN)TCP mechanism for network routers to signal impending network congestion to endpoints
  • Stateless datagram transmissionUDP operational mode providing low-latency delivery without session setup or state maintenance

Answer

20-byte minimum header size matches TCP header structure accommodating sequence numbers, window size, and control flags; 8-byte fixed header size matches UDP header structure containing only source port, destination port, length, and checksum; Explicit Congestion Notification (ECN) matches TCP mechanism for network routers to signal impending network congestion to endpoints; Stateless datagram transmission matches UDP operational mode providing low-latency delivery without session setup or state maintenance.
TCP uses a minimum 20-byte header to support sequence numbers, acknowledgment numbers, control flags, and flow control mechanisms like ECN. UDP uses a minimal 8-byte fixed header containing only ports, length, and checksum to provide lightweight, connectionless datagram delivery.

Step-by-Step Solution

1
Analyze transport layer header length specifications for TCP and UDP.
TCP headers require at least 20 bytes of overhead due to sequence/ACK tracking and windowing fields, whereas UDP headers are strictly fixed at 8 bytes.
Transport layer operational guarantees directly determine header field complexity.
2
Evaluate transport layer signaling and congestion management features.
ECN allows network infrastructure to communicate buffer pressure to TCP endpoints so they can dynamically reduce transmission rates.
TCP maintains stateful mechanisms for connection flow control and congestion avoidance.
3
Compare connection state and delivery requirements.
UDP operates in a stateless datagram model that avoids connection setup latency and session state overhead.
Applications using UDP prioritize rapid, low-overhead transmission over packet delivery verification.

Key Concept

Transport Layer Header Fields and Operational Characteristics (TCP vs. UDP)
Rate this question