I've bounced upon two articles that describe in-depth on how TCP and UDP connections work. However there is some kind of inconsistency. Where one article tells me that UDP does no Error-Checking at all, the other article mentions that UDP Does some sorth of error-checking but no recovery or corrections. I would like to know which of the two is the most correct?

Thanks in advance!


Yes, the second article is right. The UDP protocol also has error-checking but doesn't have any error-recovery.

  • Error-detection: detect error occurs on the frame ( FCS does that )
  • Error-recovery: using sequence of bytes to detect error occurs, and if it happen, resend it.

UDP does have a 16-byte checksum. As Gnouc mentioned, this has some error-detection properties, but doesn't do recovery (by re-sending the packet like TCP will). The article was probably referring to the fact that UDP doesn't have any positive acknowledgement that the packet was received. (i.e. there is no detection if the packet got lost.)


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.