This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.