Connection-oriented and Connectionless services

 

 

 

Connection-oriented and connectionless services are two different types of communication services provided by computer networks.

1.       1. Connection-Oriented Services: In a connection-oriented service, a dedicated communication path is established between two devices before any data is transmitted. This is done through a process called "handshaking," where the devices exchange control messages to establish the connection. Once the connection is established, data can be transmitted between the devices until the connection is terminated. Connection-oriented services provide a reliable and ordered data transmission, but the overhead required to establish and maintain the connection can be higher than connectionless services. Examples of connection-oriented services include TCP (Transmission Control Protocol) and X.25.

 


2.       2. Connectionless Services: In a connectionless service, there is no dedicated communication path established between two devices. Data is transmitted in the form of packets, which are sent independently and may take different routes to reach the destination. The packets may arrive out of order, and there is no guarantee that all packets will be received. Connectionless services are typically faster and have lower overhead than connection-oriented services, but they may not be as reliable or provide ordered data transmission. Examples of connectionless services include UDP (User Datagram Protocol) and IP (Internet Protocol).



Both connection-oriented and connectionless services have their advantages and disadvantages, and the choice of service depends on the specific requirements of the network and the applications running on it. For example, connection-oriented services are typically used for applications that require reliable data transmission, such as file transfers and email, while connectionless services are typically used for applications that require fast transmission and real-time responsiveness, such as video streaming and online gaming.

 

S.NOConnection-oriented ServiceConnection-less Service
1.Connection-oriented service is related to the telephone system.Connection-less service is related to the postal system.
2.Connection-oriented service is preferred by long and steady communication.Connection-less Service is preferred by bursty communication.
3.Connection-oriented Service is necessary.Connection-less Service is not compulsory.
4.Connection-oriented Service is feasible.Connection-less Service is not feasible.
5.In connection-oriented Service, Congestion is not possible.In connection-less Service, Congestion is possible.
6.Connection-oriented Service gives the guarantee of reliability.Connection-less Service does not give a guarantee of reliability.
7.In connection-oriented Service, Packets follow the same route.In connection-less Service, Packets do not follow the same route.
8.Connection-oriented services require a bandwidth of a high range.Connection-less Service requires a bandwidth of low range.
9.Ex: TCP (Transmission Control Protocol)Ex: UDP (User Datagram Protocol)
10.Connection-oriented requires authentication.Connection-less Service does not require authentication.