2,142 views
2 votes
2 votes

Consider a scenario where UDP receiver computes the Internet checksum for the received UDP segment and finds that it matches the value carried in the checksum field.

Which of the statement below is true with respect to the above scenario?

  • Receiver is absolutely sure that no bit errors have occurred.
  • If the receiver is TCP instead of UDP, the receiver is still absolutely sure that no bit errors have occurred.
  • UDP receiver is absolutely sure about no error. But if it’s a TCP receiver it won’t be.
  • Both TCP and UDP receivers will not be absolutely sure about no error

Answer given is D but I feel it should be B because Tcp checksum is calculated on data and header both.

2 Answers

Best answer
2 votes
2 votes
answer is D

since the data received is from the network layer to transport layer, and we know at network layer we have IP which uses checksum at header only.so there is lots of probability that data might be corrupted. therefore either UDP or TCP they have to perform the checksum then only they can be sure about it.

better to see the format of IP and compare it with UDP and TCP. you will find that in IP we have only header checksum while in TCP/UDP we have checksum for header and data both.
selected by
3 votes
3 votes
checksum shud be again calculated on pseudo header. only then receiver can be sure that no error occured. (incase of both TCP and UDP)

Related questions

2 votes
2 votes
1 answer
2
Akriti sood asked Oct 23, 2016
4,293 views
Q.Calculate the checksum for the following ICMP packet:Type: Echo RequestIdentifier: 123Sequence number: 25Message: HELLOAssume that message is divided into 8-bits(1 byte...
1 votes
1 votes
1 answer
3
vishwa ratna asked Jan 15, 2017
3,547 views
The check sum of 10010010 and 00111000 (8 bit segment) is ___________ :(1)00110110(2)11001010(3)00110101(4)None of theseI am getting the answer as 11001010 , so option sh...