[ntp:questions] Any samples for NTP/SNTP client code?

guuwwe at hotmail.com guuwwe at hotmail.com
Sat Dec 1 19:31:48 UTC 2007


Does anybody know of any *practical* samples on how to
implement NTP/SNTP client?. The goal is to provide accurate
time for a program/client running on Windows Vista.

Specifically, what values to include in the the request message,
how to process the reply message, etc.

I am NOT asking how to send/receive UDP datagrams, or where
to find comprehensive descriptions like RFC documents, or how
to build or design user interfaces.

Only a narrow description focused on NTP/SNTP request/reply
datagrams for a simple PC client, preferably in C/C++ source
code.






More information about the questions mailing list