India Broadband Forum


Why TCP is more reliable than UDP ?

This is a discussion on Why TCP is more reliable than UDP ? within the Computer technology forums, part of the Computers category; What is UDP ? The User Datagram Protocol(UDP) is one of the core protocols of the internet protocol suite. Using ...

Go Back   India Broadband Forum > Computers > Computer technology

India Broadband Forum


                      

Reply

 

LinkBack Thread Tools Display Modes
Old 03-05-09, 09:01 PM   #1
rupu1983
Guest
 
Posts: n/a
Default Why TCP is more reliable than UDP ?

What is UDP ?

The User Datagram Protocol(UDP) is one of the core protocols of the internet protocol suite.
Using UDP, Programs on networked computers can send short massages known as datagrams to one another.

What is TCP ?

Abbreviation of Transmission Control Protocol it also represent as TCP/IP where TCP is the main protocol. IP(internet protocol) deal with packets, TCP enables twp host to establish a connection and exchange streams of data.

Difference between TCP & UDP

The primary difference between TCP & UDP lies in the way they implement data transfer TCP include support guaranteed delivery, in which recipient automatically acknowledges the sender when message is received. In addition the sender waits and retransmits the data if implement guaranteed message delivery. A UDP datagram can get lost during transmission and the protocol will not be able to detect and report this.

Why TCP is more reliable ?

Few mechanisms help to provide the reliability of TCP such as
  • Checksum—All TCP segment carry a checksum, which is used by the receiver to detect errors with either the TCP header or data.
  • Duplicate and detection—It is possible for packets to be duplicated in packet switched network; therefore TCP keeps track of bytes received in order to discard duplicate copies of data that has already been received.
  • Retransmissions—In order to guarantee delivery of data, TCP must implement retransmission schemes for data that may be lost or damaged. The use of positive acknowledgments by the receiver to the sender confirms successful reception of data. The lack of positive acknowledgments, coupled with a timeout period calls for retransmission.
  • Sequencing –In packet switched networks, it is possible for packets to be delivered out of order. It is TCP’s job to properly sequence segments it receives so it can deliver the byte stream data to an application in order.
  • Timers—TCP maintain various static and dynamic timers on data sent. The sending TCP waits for the receiver to reply with an acknowledgment within a bounded length of time. If the timer expires before receiving an acknowledgment, the sender can retransmit the segment.
  Reply With Quote
Reply

Tags
reliable, tcp, udp

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
QuEsTiOn::is UL1350 reliable...?? yesh BSNL broadband 20 02-28-09 09:47 PM
how reliable is Blue Host? jammer6005 Web hosting 3 11-13-08 04:53 PM
how much reliable? moksh87 Airtel Broadband 0 06-30-07 10:54 PM
Sify Broadband Reliable India Broadband Sify broadband 0 07-21-06 07:11 PM
Reliable, but fast? India Broadband Hathway 0 07-21-06 04:56 PM


All times are GMT +5.5. The time now is 11:24 PM.


India Broadband Forum