How would I compute the 8-bit internet checksum of this data?
From what I've found so far, to compute the checksum you would add the sums of each of the data parts and then use the 1st compliment on this result sum. But when I try this I get:
00000011
+ 00000100
= 00000111
(x = 3 + 4)
00000111
+ 00000101
= 00001100
(y = x + 5)
00001100
+ 00000110
= 00010010
(y + 6)
Applying the 1st compliment would get me: 11101101
which is not the correct result comparing with what is expected above.
Is my method approaching this calculation wrong?