API: Added Guide for Latency Measurement to DatHost Servers


  • Published a guide for selecting the best server location using WebSocket.


We've added a detailed guide to help in accurately measuring the latency between a user's browser and our servers. This is great if you need to figure out the best server location to play a match on based on all user's latency.

The guide covers:

  1. WebSocket communication structure and the Ping-Pong mechanism.
  2. A simple Javascript example to check the latency right in your browser.

Check out the guide here: Ping Server Locations via WebSocket