synchronize computertime using internet

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

synchronize computertime using internet

 
0
  #1
Oct 26th, 2008
How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: synchronize computertime using internet

 
0
  #2
Oct 26th, 2008
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: synchronize computertime using internet

 
0
  #3
Oct 26th, 2008
Thanks for the information. I have to ask though here.
It don´t seem that there is any info about how to code this in C++.
Is this a possibility to do..?
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: synchronize computertime using internet

 
0
  #4
Oct 26th, 2008
Er, yes.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: synchronize computertime using internet

 
0
  #5
Oct 26th, 2008
Ok, that seems nice that it is possible
Do you have any idéas how I will begin, if there is any examples on this how to code.
Has MSDN any examples of this.
Is there any calls in C++ to do this.
It doesn´t seem to be a standard task you do in C++, so I have no code to start out this. What I will call, because I might need to call a timeserver perheps or something similar.

Like in the controlpanel in XP "Date and Time" you can synchronize the time on the computer with update now for example through: www.timewindows.com

Originally Posted by Salem View Post
Er, yes.
Last edited by Liszt; Oct 26th, 2008 at 5:26 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: synchronize computertime using internet

 
0
  #6
Oct 26th, 2008
Something like
"ntp client c source code"
in your search engine perhaps?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: synchronize computertime using internet

 
1
  #7
Oct 26th, 2008
Then I know what to search for,
Thanx for your assistance.

Liszt

Originally Posted by Salem View Post
Something like
"ntp client c source code"
in your search engine perhaps?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC