[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1179
  • Last Modified:

TCP,UDP checksums

Hello,
Why do TCP and UDP have their own checksums?Is the IP checksum not enough?
and Why lost TCP acknowledgements do not necessarily force retransmissions?
Thanks.
0
bpmf
Asked:
bpmf
1 Solution
 
Joshua111197Commented:
Hey,

TCP and UDP are protocols at the similar OSI-Layer, but UDP is no secure end-to-end-protocol, because no acknoledgements are sent from the destination and a checksum has not to be calculated  (checksum=0 means, no checksum will be calculated). So transmission errors can only be checked by IP checksum.

The TCP-checksum is calculated to secure the transmission of the data from Layer 4 to Layer 3 (IP). The original data will be checked here. The IP checksum will vary on every hop, because the IP header has the source adress and the destination adress of the next hop inside. So with every router on the run the checksum will be a different. The TCP-checksum can controll changings of the original data.

The retransmissions are not builded bye the TCP protocol but bye the application. The RFCs for TCP only describe the TCP-packet but not the applications they are created by. So I think, the ability  to force retransmission depends on the application.

I hope this will answer your questions.

Yours Josh
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now