TCP vs UDP Connection Establishment Differences
Short answer
A TCP establishes connections via a three-way handshake, whereas UDP is connectionless and does not guarantee message delivery.
Question
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?
Why is TCP called connection-oriented?
Community Votes
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
-
Masquerade 👍 4The 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.
-
Ali526 👍 3A is correct.
-
duongccna 👍 2A correct, TCP: syn, ack, syn-ack, UDP doesnt guarantee message delivery
-
jat1 👍 2 Answered AA is the correct answer
-
SrikanthGaddam 👍 1 Answered AA. TCP uses the three-way handshake, and UDP does not guarantee message delivery.
Show 5 more comments
-
KAPPACCNA1 👍 1 Answered AThis is the correct answer
-
aljofer 👍 1 Answered AThe correct answer is A
-
nickc2na555 👍 1 Answered AA is correct
-
Hanagaki_Shinjiro 👍 1Definitely A
-
Bilal1992 👍 1A is right
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →