Tag Info

Hot answers tagged


Your intuition about #1 is correct: don't trust client timestamps. Even without cheating, timestamps can be wildly wrong. Best approach is to ping, and divide the ping time by two. The lag may be asymmetric, but there's no way to verify that from the server. If you already have a persistent connection (TCP), that channel is fine. For just a ping, a no-setup ...

Only top voted, non community-wiki answers of a minimum length are eligible