[ENet-discuss] Death by a thousand cuts

Lee Salzman lsalzman1 at cox.net
Mon Mar 27 18:17:43 PST 2006


Well, the UDP checksum should handle it, but at least one person has 
reported that a corrupted packet was getting through that somehow passed 
the checksum. Insurance never hurts, I suppose.

Lee

Adam D. Moss wrote:
> Lee Salzman wrote:
> 
>>In the process of this, I also cut out certain fields of the header that 
>>were redundant. But to prevent packets from being more prone to 
>>corruption from that, I added in a cheap CRC32 checksum (enabled by 
>>configure option), which should actually make packets less so. I know 
>>that will make some users happy.
> 
> 
> Does that imply that in the current ENet, packets may undetectedly
> arrive corrupted?  I don't remember the docs making that clear.
> (It wouldn't be a big problem as the app can always do its own
> CRC32/ADLER32/whatever and should be written defensively anyway,
> but...)
> 
> Ta,
> --adam




More information about the ENet-discuss mailing list