User Datagram Protocol (UDP) uses the 1’s complement as it is same as the checksum of the sum. The checksum is used by the receiver (host) to identify the errors in the segment. The receiver performs the following steps at the receiver end to identify the errors in the segment. Add all the bytes including checksum. Observe the sum.
Full Answer