Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Non-OS Specific NTP Server Time
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
[Gandalf]




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Wed Jul 06, 2005 9:59 pm   Post subject: (No 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.
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: