26 Jan 2020

  • January 26, 2020
  • Amitraj
Connection Oriented and Connectionless Services

There are two services given by the layers to layers:

1. Connection Oriented Service
2. Connectionless Services


1. Connection Oriented Services -
There is a sequence of operation to be followed by the users of connection oriented service. These are:

-> Connection is established.
-> Information is sent.
-> Connection is released.

-> In connection oriented service we have to establish a connection before starting the communication. When connection is established, we send the message or the information and then we release the connection.

-> Connection oriented service is more reliable than connectionless service. We can send the message in connection oriented service if there is an error at the receivers end. Example of connection oriented is TCP (Transmission Control Protocol) protocol.




2. Connection Less Services -

-> It is similar to the postal services, as it carries the full address where the message (letter) is to be carried. Each message is routed independently from source to destination. The order of message sent can be different from the order received.

-> In connectionless the data is transferred in one direction from source to destination without checking that destination is still there or not or if it prepared to accept the message. Authentication is not needed in this. Example of Connectionless service is UDP (User Datagram Protocol) protocol.




Difference between Connection oriented and Connectionless service

1. Connection-oriented service is related to the telephone system where Connection-less service is related to the postal system.


2. Connection oriented service is more reliable than connectionless service.

3. In connection oriented service authentication is needed, while connectionless service does not need any authentication.

4. In connection-oriented Service, Packets follow the same route but in connection-less Service, Packets do not follow the same route.

5. Connection-oriented Service is feasible where Connection-less Service is not feasible.



Translate

Popular Posts