The Wayback Machine - https://web.archive.org/web/20240625014237/https://www.geeksforgeeks.org/connection-less-service/
Open In App

Connection-less Service

Last Updated : 25 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

A Connectionless Service is technique that is used in data communications to send or transfer data or message at Layer 4 i.e., Transport Layer of Open System Interconnection model. This service does not require session connection among sender or source and receiver or destination. Sender starts transferring or sending data or messages to destination.

In other words, we can say that connectionless service simply means that node can transfer or send data packets or messages to its receiver even without session connection to receiver. Message is sent or transferred without prior arrangement. This usually works due to error handling protocols that allow and give permission for correction of errors just like requesting retransmission.

In this service, network sends each packet of data to sender one at a time, independently of other packets. But network does not have any state information to determine or identify whether packet is part of stream of other packets. Even the network doesn’t have any knowledge and information about amount of traffic that will be transferred by user. In this, each of data packets has source or destination address and is routed independently from source to destination.

Therefore, data packets or messages might follow different paths to reach destination. Data packets are also called datagrams. It is also similar to that of postal services, as it also carries full address of destination where message is to send. Data is also sent in one direction from source to destination without checking that destination is still present there or not or if receiver or destination is prepared to accept message.

Connectionless Protocols :
These protocols simply allow data to be transferred without any link among processes. Some Of data packets may also be lost during transmission. Some of protocols for connectionless services are given below:

  • Internet Protocol (IP) –
    This protocol is connectionless. In this protocol, all packets in IP network are routed independently. They might not go through same route.


  • User Datagram Protocol (UDP) –
    This protocol does not establish any connection before transferring data. It just sends data that’s why UDP is known as connectionless.


  • Internet Control Message Protocol (ICMP) –
    ICMP is called connectionless simply because it does not need any hosts to handshake before establishing any connection.


  • Internetwork Packet Exchange (IPX) –
    IPX is called connectionless as it doesn’t need any consistent connection that is required to be maintained while data packets or messages are being transferred from one system to another.


Types of Connectionless Services :

Service Example
Unreliable Datagram Electronic Junk Mail, etc.
Acknowledged Datagram Registered mail, text messages along with delivery report, etc.
Request Reply Queries from remote databases, etc.

Advantages :

  • It is very fast and also allows for multicast and broadcast operations in which similar data are transferred to various recipients in a single transmission.
  • The effect of any error occurred can be reduced by implementing error-correcting within an application protocol.
  • This service is very easy and simple and is also low overhead.
  • At the network layer, host software is very much simpler.
  • No authentication is required in this service.
  • Some of the application doesn’t even require sequential delivery of packets or data. Examples include packet voice, etc.

Disadvantages :

  • This service is less reliable as compared to connection-oriented service.
  • It does not guarantee that there will be no loss, or error occurrence, misdelivery, duplication, or out-of-sequence delivery of the packet.
  • They are more prone towards network congestions.

Similar Reads

Difference between Connection-oriented and Connection-less Services
Both Connection-oriented service and Connection-less service are used for the connection establishment between two or more two devices. These types of services are offered by the network layer. Connection-oriented service is related to the telephone system. It includes connection establishment and connection termination. In a connection-oriented se
2 min read
Connection-Oriented Service
Connection-Oriented Service is basically a technique that is typically used to transport and send data at session layer. The data streams or packets are transferred or delivered to receiver in a similar order in which they have seen transferred by sender. It is actually a data transfer method among two devices or computers in a different network, t
3 min read
Calling Web Service Using Curl With Telnet Connection
Prerequisite: Telnet, Curl Terminal Network as the name suggests is an application layer protocol used to connect with hosts (remote machines) over a TCP/IP network. It is based on a client-server architecture where the telnet client makes a connection with the telnet server and once the connection has been established the client (your computer) ac
3 min read
HTTP Non-Persistent & Persistent Connection | Set 1
The Hypertext Transfer Protocol (HTTP) is an application-level protocol that uses TCP as an underlying transport and typically runs on port 80. HTTP is a stateless protocol i.e. server maintains no information about past client requests. HTTP ConnectionsNon-PersistentPersistentBasic Pre-RequisiteThe terminology which we must know before going deep
3 min read
TCP Connection Establishment
Prerequisite – TCP 3-Way Handshake Process TCP is a connection-oriented protocol and every connection-oriented protocol needs to establish a connection in order to reserve resources at both the communicating ends. Connection Establishment - 1. Sender starts the process with the following: Sequence number (Seq=521): contains the random initial seque
3 min read
Fiber Optics Broadband Connection
Fiber connections are a type of broadband connection that uses optical fiber cables for connection. Fiber cables run till end of user's requirement from where copper wires carry wire connection further. Demarcation point of fiber optics broadband is Optical Network Terminator, which converts data from protocols fiber connections can understand, unl
2 min read
Which Connection is Best - Fiber, Copper, or Wireless?
Copper cable: The electrical wiring is made of copper wire. It uses electronic impulses to send and receive data. It's the only solid conductor in the system. Since the invention of the telephone over a century ago, copper cabling has been the predominant method of "wiring" the home. The copper phone cable is more than capable of carrying a voice t
4 min read
Difference Between Dialup and Broadband Connection
An interconnection of multiple devices, also known as hosts, that are connected using multiple paths for the purpose of sending/receiving data or media. Computer networks can also include multiple devices/mediums which help in the communication between two different devices; these are known as Network devices and include things such as routers, swi
3 min read
What is Signaling Connection Control Part (SCCP)?
The Signaling Connection Control Part (SCCP) is an improvement to the MTP Level 3 which is known to provide connection-oriented and connectionless services, and the SCCP also provides an enhancement to address translation capabilities. Given Diagram provides a clear view of the improvements that SCCP provides over MTP services and the SCCP also pro
3 min read
Data Link Connection Identifier (DLCI)
Before understanding what a Data Link Connection Identifier (DLCI) is, we need to first get our hands on what a frame relay is. According to IBM, a Frame relay is a protocol that defines how frames are routed through a fast-packet network based on the address field in the frame. Frame relay behaves as Wide Area Network (WAN) using the packet switch
3 min read
Article Tags :