You are on page 1of 2

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
service, the Handshake method is used to establish the connection between
sender and receiver. 

Connection-Oriented Services
In a connection-oriented service, each packet is related to a source/destination
connection. These packets are routed along a similar path, known as a virtual circuit.
Thus, it provides an end-to-end connection to the client for reliable data transfer.
It delivers information in order without duplication or missing information. It does not
congest the communication channel and the buffer of the receiving device. The host
machine requests a connection to interact and closes the connection after the
transmission of the data.
Mobile communication is an example of a connection-oriented service.

 
Connection-less service is related to the postal system. It does not include
any connection establishment and connection termination. Connection-less
Service does not give a guarantee of reliability. In this, Packets do not follow the
same path to reach their destination. 

Connectionless-Service
In connectionless service, a router treats each packet individually. The packets are
routed through different paths through the network according to the decisions made by
routers. The network or communication channel does not guarantee data delivery from
the host machine to the destination machine in connectionless service.
The data to be transmitted is broken into packets. These independent packets are
called datagrams in analogy with telegrams.
The packets contain the address of the destination machine. Connectionless service is
equivalent to the postal system. In the postal system, a letter is put in an envelope that
contains the address of the destination. It is then placed in a letterbox.
The letter finally delivers to the destination through the postal network. However, it does
not guarantee to appear in the addressee's letterbox.
 
Difference between Connection-oriented and Connection-less Services:
S.NO Connection-oriented Service Connection-less Service

Connection-oriented service is related to Connection-less service is related to


1. the telephone system. the postal system.

Connection-oriented service is preferred Connection-less Service is preferred


2. by long and steady communication. by bursty communication.

Connection-less Service is not


3. Connection-oriented Service is necessary. compulsory.

Connection-less Service is not


4. Connection-oriented Service is feasible. feasible.

In connection-oriented Service, In connection-less Service,


5. Congestion is not possible. Congestion is possible.

Connection-oriented Service gives the Connection-less Service does not


6. guarantee of reliability. give a guarantee of reliability.

In connection-oriented Service, Packets In connection-less Service, Packets


7. follow the same route. do not follow the same route.

Connection-oriented services require a Connection-less Service requires a


8. bandwidth of a high range. bandwidth of low range.

9. Ex: TCP (Transmission Control Protocol) Ex: UDP (User Datagram Protocol)

Connection-oriented requires Connection-less Service does not


10. authentication. require authentication.

You might also like