In: Computer Science
Compare between connectionless and connection-oriented services by explaining how they work. You should explain their advantages and disadvantages.
Answer)
The connection-oriented services are the ones where there is a
dedicated connection between the sends and the receivers. This
means that while the different users are connected to the services
just like a physical telephone connection where the information and
data are exchanged between the senders and receivers. The
connectionless services are the ones where there is no initial
connection setup between the users and sender and receiver and thus
using a connectionless service the messages and information cannot
be guaranteed delivery.
Packets are delivered in the connection-oriented network in the wat where the connection between the senders and receivers are open all throughout the connection time and this is closed once the senders and receivers are done with the transmission. For the connectionless services, the packets and information are delivered between the senders and receivers synchronously as and when required.
Advantages of connection-oriented services:
Connection is reliable
Packets follow the same path
Dis-advantages of connection-oriented services:
Handshaking is necessary for sending the packets
Requires a larger header to be transmitted
Header size is larger than connectionless service
Advantages of connectionless services:
This service sends the protocol without the need for
handshaking
The connection is faster than the connection-oriented
The header is smaller
Dis-advantages of connectionless services:
Not reliable connection
Network travel does not have a fixed path
All the packets may or may not follow the same path for
transmission