Categories: Computer Networks

Connectionless / Connection oriented Vs Reliable / Unreliable TCP

 

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.

 

Related Post

 

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




  • Mikel

    View Comments

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

    • 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

    Recent Posts

    Heart Attack Causes and its Solution

    What is the Main Cause of a Heart Attack? What is its Solution? A heart attack is the blockage of… Read More

    10 months ago

    Understanding the Debt Ceiling: Its Impact, Importance, and Implications

    In the vast economic arena, one term that often takes center stage, inciting extensive debates and discussions, is the "debt… Read More

    1 year ago

    De-Dollarization: The New World Order of Currency and Its Global Impact

    De-Dollarization: The Changing Face of Global Finance The financial landscape is in a state of flux, with an intriguing economic… Read More

    1 year ago

    Unstoppable Bayern Munich: The Story Behind Their 11th Consecutive Bundesliga Title

    The curtains closed on a dramatic Bundesliga season with Bayern Munich standing tall once again, clinching their 11th straight title.… Read More

    1 year ago

    Celine Dion Cancels Concert Tour Due to Deteriorating Stiff-Person Syndrome

    The Unfolding Story of Celine Dion's Health In recent news that has left fans across the globe stunned, iconic singer… Read More

    1 year ago

    Navigating the Crossroads: LeBron James, Anthony Davis, and the LA Lakers’ Uncertain Future

    As the echoes of the recent NBA season start to fade, the attention of enthusiasts is firmly glued to one… Read More

    1 year ago