TCP vs UDP Connection Establishment Differences

200-301 By islever Editorial Last updated

Compare TCP to UDP

Short answer

A TCP establishes connections via a three-way handshake, whereas UDP is connectionless and does not guarantee message delivery.

Question

How do TCP and UDP differ in the way that they establish a connection between two endpoints?
  1. TCP uses the three-way handshake, and UDP does not guarantee message delivery. Correct Answer
  2. TCP uses synchronization packets, and UDP uses acknowledgment packets.
  3. UDP provides reliable message transfer, and TCP is a connectionless protocol.
  4. UDP uses SYN, SYN ACK, and FIN bits in the frame header while TCP uses SYN, SYN ACK, and ACK bits.

Key Takeaways

The question tests the core distinction between connection-oriented (TCP) and connectionless (UDP) protocols, specifically focusing on the three-way handshake mechanism versus the lack thereof.

Learn how TCP and UDP differ in establishing connections. TCP uses a three-way handshake for reliable communication, while UDP is connectionless and offers no delivery guarantees.

Common mistake: Candidates often confuse the protocols by selecting options that swap their characteristics, such as claiming UDP is reliable or TCP is connectionless, which is the opposite of reality.

Expert Analysis

Connection Establishment Mechanisms

The fundamental difference between TCP and UDP lies in their connection semantics. TCP is a connection-oriented protocol that requires a reliable session to be established before data transmission begins. This is achieved through the three-way handshake: the initiator sends a SYN packet, the responder replies with a SYN-ACK, and the initiator completes the process with an ACK. Only after this sequence is complete does the logical connection exist.

Reliability and Guarantees

UDP is defined as a connectionless protocol. It does not perform any handshake or state maintenance for individual datagrams. Consequently, UDP provides no guarantee of message delivery, ordering, or duplicate protection. While Option A mentions that "UDP does not guarantee message delivery," this statement accurately describes the lack of reliability inherent in its connectionless nature, contrasting it directly with TCP's reliable, handshaked connection.

Analysis of Incorrect Options

Option B is incorrect because UDP does not use acknowledgment packets; TCP uses them. Option C reverses the definitions, falsely claiming UDP is reliable and TCP is connectionless. Option D contains factual errors regarding header bits; while TCP uses SYN/ACK flags, UDP headers do not contain these control bits, nor does UDP use FIN bits for termination since it has no connection to close.

Exam Strategy

When comparing transport protocols, always verify the direction of the relationship: is it connection-oriented or connectionless? For TCP, memorize the three-way handshake steps (SYN -> SYN-ACK -> ACK). For UDP, remember it is 'fire-and-forget' with no reliability mechanisms. Eliminate options that reverse these fundamental traits.

Frequently Asked Questions

Does UDP ever use acknowledgments?

No, UDP is connectionless and does not use acknowledgments (ACKs) or retransmissions. If reliability is needed, it must be implemented at the application layer.

Why is TCP called connection-oriented?

TCP is called connection-oriented because it requires a logical connection to be established via a three-way handshake before any data can be exchanged between endpoints.

More 200-301 FAQ →

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 10 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 10

  1. Masquerade 👍 4
    The correct answer is A. TCP uses the three-way handshake, and UDP does not guarantee message delivery. TCP and UDP are two different transport layer protocols that are commonly used in computer networks. Both protocols are used to establish a connection between two endpoints, but they differ in the way that they establish and maintain that connection.
  2. Ali526 👍 3
    A is correct.
  3. duongccna 👍 2
    A correct, TCP: syn, ack, syn-ack, UDP doesnt guarantee message delivery
  4. jat1 👍 2 Answered A
    A is the correct answer
  5. SrikanthGaddam 👍 1 Answered A
    A. TCP uses the three-way handshake, and UDP does not guarantee message delivery.
Show 5 more comments
  1. KAPPACCNA1 👍 1 Answered A
    This is the correct answer
  2. aljofer 👍 1 Answered A
    The correct answer is A
  3. nickc2na555 👍 1 Answered A
    A is correct
  4. Hanagaki_Shinjiro 👍 1
    Definitely A
  5. Bilal1992 👍 1
    A is right

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All 200-301 Questions

Access 220 questions with complete answers and detailed explanations.

View Full 200-301 Practice Test →

← Back to 200-301 Study Guide