Computer Science Canada Non-OS Specific NTP Server Time |
Author: | [Gandalf] [ Wed Jul 06, 2005 9:52 pm ] |
Post subject: | Non-OS Specific NTP Server Time |
Does anyone have an idea of how to program something that will get the time off an ntp server without using Windows specific features? Somebody was asking me about this, and they didn't want to just get the ntp time from the registry like Windows does it. If you don't know what ntp is, its network time protocol, do a google search and you will find more info. It's basically very good for keeping synchronized time, especially for long amouns of time. Thanks for any help. |
Author: | wtd [ Wed Jul 06, 2005 9:59 pm ] |
Post subject: | |
Well, this is a great example of a time to use something higher-level than C++. Aside from that, though, you can use basic network sockets and implement the SNTP protocol. |