UDP error handling

UDP error handling

Post by Jens Mun » Tue, 21 Oct 2003 22:58:34


I know the UDP has a checksum so it is safe to assume that if your UDP data
packet gets corrupted, collided or something else on the line, then it will
just not show up? Or do I have to do some additional checking of incoming
packages myself to see if they are OK and healthy?

FYI, I am using Indy currently in D6.

Jens.
 
 
 

UDP error handling

Post by Martin Jam » Wed, 22 Oct 2003 02:49:51


data
will

Yes, this is how it works. You should get your datagrams intact or not at
all.

Rgds,
Martin

 
 
 

UDP error handling

Post by Jens Mun » Wed, 22 Oct 2003 06:58:56

Thanks,

That makes a lot of sense and is indeed what I need.

Jens.
 
 
 

UDP error handling

Post by Simon Devl » Thu, 23 Oct 2003 05:51:12

Indeed. The OS throws them out. Though it's not relevant in your case, if
your listening to a promiscous mode driver (such as one of the wrappers
around Winpcap), you'll see the whole lot and have to make your own
decisions.

Simon




data
will