Getting Official DayTime using NIST TimeServer


Overview

This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time. Finally, using a win32 api function, set the system time on your computer with the correct
time.

Here is how application looks like:


Similar Articles