Connection-oriented – Programmerbay https://programmerbay.com A Tech Bay for Tech Savvy Wed, 24 Jun 2020 10:23:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://programmerbay.com/wp-content/uploads/2019/09/cropped-without-transparent-32x32.jpg Connection-oriented – Programmerbay https://programmerbay.com 32 32 Difference Between Connection-oriented And Connection-less Communication https://programmerbay.com/difference-between-connection-oriented-and-connection-less-communication/ https://programmerbay.com/difference-between-connection-oriented-and-connection-less-communication/#respond Sun, 31 Mar 2019 16:12:36 +0000 https://www.programmerbay.com/?p=2637 CONNECTION-ORIENTED COMMUNICATION:

The communication that first requires establishing a proper connection before sending actual data is called as Connection-oriented communication.

This connection-oriented communication is similar to the telephone system.

CONNECTION-LESS COMMUNICATION:

The communication in which the actual packets of data are directly sent/transmitted from source to destination without establishing a connection first is called Connection-less communication.

This connection-less communication is quite similar to the postal system.

DIFFERENCE BETWEEN CONNECTION-ORIENTED AND CONNECTION-LESS COMMUNICATION:

  1. Connection-oriented communication always guarantees a proper and reliable transfer of data. Connection-less communication can never guarantee a proper transfer of the data.
  1. In Connection-oriented communication, there is no chance of any kind of congestion or obstructions what so ever while transferring the data. In Connection-less communication there is a greater chance and more often observed that there is congestion or any obstruction while transferring the data.
  1. The virtual circuit and circuit switching are commonly used to implement Connection-oriented communication. The packet switching is commonly used to implement Connection-less communication.
  1. DATA RE-TRANSMISSION( IN CASE OF DATA LOSS)-

In Connection-oriented communication, if the data is lost then the retransmission can be done and is very easily feasible. In Connection-less communication, if the data is lost then retransmission is not possible and feasible at all.

  1. The Connection-oriented communication is most commonly used for steady and prolonged communication. The Connection-less communication is most commonly used for short distance communication.
  1. In Connection-oriented communication, there is a need for firstly establishing a prior connection before the actual transmission could take place. In Connection-less communication there is no requirement of establishing any kind of prior connection before transmitting the data.

Key differences:

CONNECTION-ORIENTED COMMUNICATIONCONNECTION-LESS COMMUNICATION
Guarantees a proper and reliable transfer of dataNever guarantee a proper transfer of the data
No chance of congestion or obstructions while transferring the dataGreater chances of congestion or obstructions while transferring the data
Virtual circuit and circuit switching are commonly used for its implementationPacket switching is commonly used for its implementation
If there is a data loss then it can be re-transmittedRe-transmission is not possible
Used for steady and prolonged communicationUsed for short distance communication
Connection is established before actual data transmissionNo requirement of establishing connection before transmission

]]>
https://programmerbay.com/difference-between-connection-oriented-and-connection-less-communication/feed/ 0