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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.