synchronise

  1. E

    Android Code Snippet DIY NTP Network Atomic Clock Time

    I just ported some NTP stuff from an old program. Querying an NTP server is surprisingly easy: just send it a 48 byte UDP packet with the first byte = 27 and the rest of them 0. The NTP server should return your 48 byte packet updated with the last 16 bytes set to two 64-bit timestamps, being...
Top