1
  1. UDP can congestion control?
  2. UDP can flow control?
  3. UDP have some error correction mechanism?
  • UDP is a fire-and-forget, best-effort protocol that sends a datagram without caring that it actually reaches the destination. – Ron Maupin Aug 2 '18 at 14:00
2

UDP itself has no mechanisms for neither flow control, nor congestion control, and no error correction. If the application's datastream needs any of these, then they must be implemented within the application.

However, UDP may have error detection: The UDP header has a 16bit checksum field, but it's use (with UDP-on-IPv4) is not mandatory (however it is mandatory with UDP on IPv6) and it may be all-zeros.

See https://stackoverflow.com/questions/14043680/how-to-enable-udp-checksums, but now we're digressing into upper layers and host related topics, and that is close to becoming off-topic here.

  • if detect some error in checksum,can drop udp segemnt? – Manjitha teshara Aug 2 '18 at 7:55
  • 1
    UDP checksum generation validation done by the end system, by setting socket options aproppriately. It is up to the application what it wants to do with an UDP datagram with incorrect checksum. But this is becoming off-topic now. – Marc 'netztier' Luethi Aug 2 '18 at 10:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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