Professional Documents
Culture Documents
Network
Network
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
9. Ex: TCP (Transmission Control Protocol) Ex: UDP (User Datagram Protocol)