Soru

Zorluk: OrtaTCP vs UDP Comparison and Protocols

Match each transport layer characteristic or protocol mechanism on the left to its corresponding protocol operation on the right.

  • Three-way handshake (SYN, SYN-ACK, ACK)Stateful connection establishment in TCP
  • Fixed 8-byte header structure without sequence numbersLow-overhead encapsulation mechanism in UDP
  • Dynamic sliding windowing mechanismFlow control to prevent buffer exhaustion in TCP
  • Best-effort transmission without retransmissionsStateless data delivery for real-time traffic in UDP

Cevap

The three-way handshake matches stateful connection establishment in TCP; the fixed 8-byte header matches low-overhead encapsulation in UDP; dynamic sliding windowing matches flow control in TCP; and best-effort transmission matches stateless data delivery in UDP.
Each feature correctly pairs with its protocol operation: TCP manages state initializations via the three-way handshake and regulates sender rate using sliding window flow control. Conversely, UDP minimizes encapsulation with an 8-byte header and delivers packets statelessly without retransmissions.

Adım Adım Çözüm

1
Identify session initialization characteristics for TCP.
TCP establishes connection state prior to transferring application payload by exchanging SYN, SYN-ACK, and ACK control flags during the three-way handshake.
TCP requires explicit state synchronization between endpoints.
2
Analyze UDP header composition and encapsulation efficiency.
UDP utilizes a lightweight 8-byte header consisting of four 16-bit fields (Source Port, Destination Port, Length, Checksum).
UDP omits connection tracking fields like sequence numbers, acknowledgment numbers, and window size to minimize overhead.
3
Evaluate flow control mechanics in TCP.
TCP uses the Window Size field to implement dynamic sliding windowing, regulating how much data a sender can transmit before receiving an acknowledgment.
Flow control prevents a fast sender from flooding a receiver's incoming socket buffer.
4
Match delivery semantics for latency-sensitive applications.
UDP transmits datagrams using best-effort delivery without waiting for acknowledgments or initiating retransmissions.
Real-time applications (such as VoIP or live video streaming) prioritize low delay over guaranteed error correction.

Anahtar Kavram

Comparison of stateful, reliable TCP mechanics versus lightweight, connectionless UDP operations
Bu soruyu puanla