Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UDP with wrong checksum and ICMP messaging

Status
Not open for further replies.

dms5

Technical User
Apr 7, 2010
3
0
0
IS
I have a question regarding UDP datagrams and checksum. If a UDP packet arrives with a wrong checksum and the receiver replies to the sender with a ICMP error message that holds 28 bytes (20 for IP header and 8 byte UDP header), can the sender then use that info and guess what UDP packet was bad and resend that packet?
 
No---UDP packets are not connection-oriented and have no sequence numbers. The UDP packets are not resent.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Thanks for the clarification burtsbees...
 
I would have said "Tracking and resending lost UDP frames is up to the application, not the protocol." But most applications do not track or resend frames, so Burtsbees is right, at least most of the time

I tried to remain child-like, all I acheived was childish.
 
Thanks, Jimbo---I try not to be right all the time on purpose, because then people would start praying to me...:)

lol

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top