Purchase Solution

UDP checksum

Not what you're looking for?

Ask Custom Question

UDP uses 1's complement for its checksums. Suppose you have the following three 16-bit words0100010001000100, 0101010101010101, 0011001100110011. What is the 1's complement of the sum of these 16-bit words? Why is it that UDP takes 1's complement of the sum; that is why not just use the sum? With 1's complement scheme, how does the receiver detects the error? Is it possible that a one bit error will go undetected? How about a two bit error?

Purchase this Solution

Solution Summary

UDP checksum is assessed.

Solution Preview

UDP Checksum:

The UDP checksum provides for error detection. UDP at the sender side performs the one's complement of the sum of all the 16-bit words in the segment. This result is put in the checksum field of the UDP segment. When the segment arrives at the receiving host, all 16-bit words are added together, including the checksum. If this sum equals 1111111111111111, then the ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.