News for hackers. Stuff that matters.
Re:How do video games stay in sync? by Animats on Saturday May 28, 2022 @04:34PM (#31543561)
You only care about the latest state for some events. Only events which will soon be superseded by a later event should go over UDP. Move A to X, sent on every frame, fine. Create monster at Y, no.

If you find yourself implementing reliability and retransmission over UDP, you're doing it wrong. However, as I mention occasionally, turn off delayed ACKs in TCP to avoid stalls on short message traffic.

Reliable, no head of line blocking, in order delivery - pick any two. Can't have all three.

There are no comments on this comment yet.