Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
What is Connection less Service?
To send data from one device to another, there should be a connection. The connection can be established to transfer data between devices in two ways:
Connection-Oriented Service
Connectionless Service
Now let us discuss connectionless services in detail.
What is Connectionless Service?
Connectionless service is a data transmission method where information is sent from source to destination without establishing a dedicated end-to-end connection first. In this approach, data is transferred in one direction without checking if the destination is ready to accept the message or even if it exists.
Each data packet is treated independently and contains complete addressing information. The service is sometimes called "unreliable" because it doesn't guarantee delivery, order, or error correction. Examples include UDP (User Datagram Protocol) and IP (Internet Protocol).
Key Characteristics
No connection establishment − Data transmission begins immediately without handshaking
Stateless protocol − No memory of previous communications or packet sequence
Independent packet routing − Each packet may take different network paths
No delivery guarantee − Packets may be lost, duplicated, or arrive out of order
Fast transmission − Lower overhead due to no connection management
Connectionless Service Primitives
Connectionless services use two main primitives:
UNIDATA − Sends a packet of data from source to destination
FACILITY.REQUEST/REPORT − Queries network performance and delivery statistics
Comparison with Connection-Oriented Service
| Feature | Connection-Oriented | Connectionless |
|---|---|---|
| Connection Setup | Required before data transfer | Not required |
| Reliability | Guaranteed delivery and order | No delivery guarantee |
| Authentication | Authentication required | No authentication needed |
| Interface Type | Stream-based | Message-based |
| Examples | TCP, SMTP, FTP | UDP, IP, DNS |
Common Use Cases
Connectionless services are ideal for applications requiring fast, simple communication such as DNS queries, real-time gaming, live video streaming, and IoT sensor data transmission where occasional packet loss is acceptable.
Conclusion
Connectionless service provides fast, simple data transmission without connection establishment, making it suitable for applications where speed is prioritized over guaranteed delivery. While less reliable than connection-oriented services, it offers lower overhead and faster communication for real-time applications.
