top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why in TCP checksum is mandatory but in UDP checksum is optional?

0 votes
545 views
Why in TCP checksum is mandatory but in UDP checksum is optional?
posted Aug 7, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

TCP is a guaranteed delivery protocol which not only give guarantee of delivery of packets but also correctness whereas USP does not provide any such guarantee. That is the precise reason why UDP packets include checksum field as optional (16 bit CRC checksum) which the receiving operating system will use to check for packet corruption. If the checksum is present and fails, then the packet will be silently discarded. It is up to the application to notice that the packet disappeared and take corrective action, where in case of TCP re-transmission takes place.

answer Aug 7, 2017 by Salil Agrawal
Similar Questions
+4 votes

Out of three prominent advance transport protocols (TCP, UDP and SCTP) which is the best to use and why should i use that protocol ?

+4 votes

Which is better and why ??

...