3 ms·
Overflow is fine if you're aware of it and have code that either doesn't need to care about it, or can work around it. Consider protocols with wrapping sequenc
by kelnos 3y ago
Overflow is fine if you're aware of it and have code that either doesn't need to care about it, or can work around it.
Consider protocols with wrapping sequence numbers. Pretty common in the wild. If I increment my 32-bit sequence counter and it goes from 2^32-1 back to 0, that's likely just expected behavior.