(1) Suppose a packet contains three 16-bit data, which are represented by hexade
ID: 3603869 • Letter: #
Question
(1) Suppose a packet contains three 16-bit data, which are represented by hexadecimal format as 0xFD16, 0xABCD, 0x950C. Compute the checksum. Show all your work.
(2) Suppose the Round-trip time between 2 computers is 180ms, the network bandwidth between these two computers is 10Mbps, each transmitted packet between them has a constant size of 1000 bytes. What is the TCP congestion window value in order to make the network utilization to reach 60%? (Hint: the size of congestion window dictates how many packets or bytes you can push to the network)
Explanation / Answer
As per given the following two message were sent 10101001,00111001.
Usually we calculate checksum byu using 1's complement. At first I thought it maybe is XOR,
but it seems not to be the case.
10101001
00111001
--------
Sum 11100010
Checksum: 00011101
when they are calculating if the msg is arrived then it is OK. And once again nwwd to calculate sum...
10101001
00111001
00011101
--------
Sum 11111111
Complement 00000000
Here it showing that that the pattern is O.K.
if three numbers are used we can add with previous result and then solve.