2 ms·
Dropped packets might not matter if you send the latest state. Dropped packets can be detected as well if each UDP packet in the protocol has a sequence id, the
by rdtsc 11y ago
Dropped packets might not matter if you send the latest state. Dropped packets can be detected as well if each UDP packet in the protocol has a sequence id, then receiving end keep last time and sequence id it got. So it know if it got packets out of order or duplicated packets. Yeah, you are doing at this point some TCP stuff, but in some cases it is worth doing.
- jfoutz 11y agoReimplementing tcp in udp is either very smart or very dumb. It's a great mid band filter for programmers. When it pays off, it's huge. But when it doesn't, it's death by corner case.