UDP Connection Model: Connection-Oriented vs Connectionless
UDP (User Datagram Protocol), by design, is connectionless: it does not establish a session/connection before sending data, unlike TCP. Therefore, the correct choice is (ii) connection less.
To answer this rigorously, you compare the transport-layer behaviors:
- With connection-oriented protocols, endpoints typically perform a setup/handshake and maintain connection state.
- With connectionless protocols, each datagram is treated independently, without prior connection establishment, and delivery is not guaranteed.
The “RFC” description of UDP formalizes the protocol as sending datagrams without a connection establishment step.
Key takeaway: UDP sends datagrams immediately; it does not “connect” first.
UDP vs TCP (Connectionless vs Connection-Oriented) — Networking Basics
Key concepts and vocabulary (for the multiple-choice question)
- Connection oriented
- Connection less
- Datagram
- Transport layer
In UDP, the sender and receiver do not perform a connection handshake; instead, the sender transmits a datagram to the destination address/port, and the network delivers it using best-effort routing.
Direct evaluation of the answer choices
Correct option: (ii) connection less.
Why:
- UDP does not require a connection establishment phase before data transfer.
- UDP treats messages as individual datagrams rather than stream segments belonging to a maintained connection state.
- UDP does not guarantee delivery, ordering, or retransmission (properties typically associated with connection-based reliability mechanisms).
How to reason about UDP’s connectivity model (exam-style)
- 1Step 1
If the protocol requires a connection establishment step before transferring data, it is connection oriented.
- 2Step 2
If endpoints maintain per-connection state to coordinate delivery, it is connection oriented.
- 3Step 3
If each unit is sent independently as a datagram without a prior session, it is connectionless.
- 4Step 4
UDP matches connectionless behavior ⇒ choose (ii) connection less.
Pro Tip
In many courses/exams: TCP = connection oriented, UDP = connectionless. When in doubt, remember UDP does not do a “3-way handshake.”
Common pitfall
“UDP is not connection-oriented” does NOT mean “UDP cannot communicate reliably.” Reliability (if needed) must be implemented by the application or a higher-level protocol—not provided by UDP itself. (UDP is still usable for reliable apps, but it’s not guaranteed by UDP.)
UDP compared to TCP (high-signal differences)
Connectivity & delivery guarantees (conceptual)
High-level comparison focusing on connection model and delivery characteristics.
FAQ: UDP nuances
Transport behavior lifecycle (UDP vs connection-oriented)
No handshake
UDPSender immediately sends datagrams to destination address/port."
Independent datagrams
UDPEach datagram is treated as a standalone unit; no connection state is assumed."
Connection setup
Connection-oriented (e.g., TCP)Endpoints perform handshake and create connection state before data transfer."
Stream delivery
Connection-oriented (e.g., TCP)Data flows over the established connection with delivery/order mechanisms."
UDP Connection Model Flashcards
Knowledge Check
Which statement best describes UDP?