Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

UDP has optional error detection:

  • Optional: UDP supports checksums, which the receiver can use to detect errors. However, the use of checksums is optional.
  • Detection: There is no built-in recovery mechanism in UDP. This task is left to the application using UDP.

The Wikipedia articles on TCP and UDP are good starting points for more information. Look at the segment/datagram header formats and see how checksums are handled.

share|improve this answer
    
Alright, thanks for the information. –  Dempsey FoxDie Van Assche May 11 '13 at 11:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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