An application developer is optimizing a custom telemetry protocol for bandwidth-constrained satellite links. To minimize transport layer encapsulation overhead, the network architecture replaces TCP with UDP. Assuming standard baseline headers with no TCP options, how many bytes of fixed header overhead are saved per packet by selecting UDP over TCP?
- 12 bytesCevap
- B8 bytes
- C16 bytes
- D4 bytes
Cevap
12 bytes of Layer 4 header overhead are saved per datagram by using UDP instead of TCP.
The correct answer is 12 bytes. A standard TCP header without optional fields requires 20 bytes to accommodate features such as sequencing, acknowledgments, dynamic windowing, and flags. Conversely, UDP utilizes a simplified 8-byte header composed of only four fields: Source Port, Destination Port, Length, and Checksum. Subtracting the 8-byte UDP header from the 20-byte baseline TCP header yields a savings of 12 bytes per packet.
Adım Adım Çözüm
Anahtar Kavram
Layer 4 Header Overhead and Structure (TCP 20-byte vs. UDP 8-byte)