what is Connection oriented and Connectionless

Difference Between Connection oriented vs Connection less 

Connection-oriented means that a connection (a virtual link) must be established before data can be exchanged. This can guarantee that data will arrive, and in the same order it was sent. It guarantees delivery by sending acknowledgements back to the source when messages are received.

Example

TCP is an example of an connection-oriented transport protocol.

A common example of connection-oriented communication is a telephone call: you call, the ‘destination’ picks up the phone and acknowledges and you start talking (sending data). When a message or a piece of it doesn’t arrive, you say: “What!?” and the sender will retransmit the data.

Connectionless is the opposite of connection-oriented; the sender does not establish a connection before it sends data, it just sends without guaranteeing delivery.

Example

UDP is an example of an connectionless transport protocol.

Application Layers

Host A————————————Host B

Application layer——-data————Application layer

Presentation layer—–data————Presentation layer

Session layer———–data————Session layer

Transport layer—–segments——–Transport layer

Network layer   ——packets———-Network layer

Data-link layer——-frames———–Data-link layer

Physical layer———–bits————-Physical layer

Back

Copyright © 2024. Created by IT Learning. Powered by DumpsForAll | Terms of Use | Privacy Policy