Available Balance
Connectionless / Connection oriented Vs Reliable / Unreliable TCP
January 29, 2015
2

 

Connection oriented basically provides sequence number which is the basis of reliability. By reliability, it means that the communication between the sender and the receiver is connection oriented.

 

Connectionless and connection oriented services transport protocol

When the source and the destination during a communication calculates and share certain parameters before transferring the packets then this kind of communication is called connection oriented.

If source sends data to destination, then the sources cannot expect any acknowledgement for connectionless protocol. But if destination wants to reply it, then it can do so by using IP and port number.

A reliable protocol caters two things:

  1. Network congestion control.
  2. Receiver flow control.


At this point, a question should arrive in your mind that if a connection oriented communicating protocol is much more reliable than why connectionless transport layer protocols are used?

 

Reasons to use connection less transport protocol

UDP protocol is also known as unreliable connectionless transport layer protocol.
Following are some reasons to use UDP:

  1. Finer application level control over which the data is sent and if when we want to control we need light weight and less consuming protocols. Real time applications require minimum sending rate and don’t want any delay, but can tolerate any loss. Therefore, UDP protocol is used over here.
  2. No connection establishment – UDP protocol does not need to establish any connection before any communication of data packet and therefore it avoids such delays.
  3. No connection state – No buffers, congestion control parameter, etc are maintained, and therefore the server that is utilizing UDP protocol can handle multiple active clients at a time.
  4. Small packet header overheads – Since UDP is not keeping track of the parameters mentioned above, therefore, the size of the UDP packet gets automatically small.

 

connectionless-and-connection-oriented-services-unreliable-reliable-transport-protocol

 

Why UDP protocol is unreliable?

  1. It is a connectionless protocol. This means that there are changes of loss of packets.
  2. They are one ended traffic. This means it sends packet without caring for acknowledgement.

On the other hand, TCP protocol is much more reliable as there are acknowledgements for packets received.

 

Reliable transport protocol

TCP protocol is also known as reliable connection oriented transport layer protocol. If we use this protocol then flow control and congestion control are done at the transport layer while maintaining a persistence link. So this caters reliability by using connection oriented approach.

 

Unreliable transport protocol

Now for unreliable approach, flow control and congestion control are not done at the transport, instead their control lies with the application layer.

UDP takes message from the application process, attaches source and destination port numbers field for multiplexing / de-multiplexing service and passes the resulting segment to network layer. The network layer encapsulates it into an IP datagram and delivers to the receiving host. If the segments arrives at the receiving host, UDP uses the port number to deliver segments data to the correct application process.

UDP is used by RIP routing table updates. RIP updates are send periodically, last updates will be replaced by the recent once.

 

Read Further

Rate This Content




    1. Yes my friend you are saying and your articles and examples are good but full of information for the coming generation.

       
    2. Hi

      My Name Is Quentin, and have been in the internet marketing industry

      We found you on web literacybase.com and I in reality liked your work.

      If you are looking for simple traffic from Social Medias, you are at the right place!

      We will deal with traffic to your website or affiliate url from 8 swap social media platforms, and the traffic will continue every daylight as long as you are a member.

      We accomplish several accounts similar to these 8 social medias:
      YouTube – Facebook – Reddit – Twitter – VKontakte – Instagram – LinkedIn – Tumblr, and every day we do close promotion on these network of medias. We will use OUR OWN accounts to spread around YOUR business all day.

      We Show The Proof In Here, Check Out This Cool Plugin
      [Link deleted]

      Best Regards

       

    Leave a reply

    Your email address will not be published.