943,534 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 794
  • C++ RSS
Oct 26th, 2008
0

synchronize computertime using internet

Expand Post »
How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?
Reputation Points: 33
Solved Threads: 6
Junior Poster
Liszt is offline Offline
122 posts
since Oct 2008
Oct 26th, 2008
0

Re: synchronize computertime using internet

Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 26th, 2008
0

Re: synchronize computertime using internet

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..?
Reputation Points: 33
Solved Threads: 6
Junior Poster
Liszt is offline Offline
122 posts
since Oct 2008
Oct 26th, 2008
0

Re: synchronize computertime using internet

Er, yes.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 26th, 2008
0

Re: synchronize computertime using internet

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

Click to Expand / Collapse  Quote originally posted by Salem ...
Er, yes.
Last edited by Liszt; Oct 26th, 2008 at 5:26 pm.
Reputation Points: 33
Solved Threads: 6
Junior Poster
Liszt is offline Offline
122 posts
since Oct 2008
Oct 26th, 2008
0

Re: synchronize computertime using internet

Something like
"ntp client c source code"
in your search engine perhaps?
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 26th, 2008
1

Re: synchronize computertime using internet

Then I know what to search for,
Thanx for your assistance.

Liszt

Click to Expand / Collapse  Quote originally posted by Salem ...
Something like
"ntp client c source code"
in your search engine perhaps?
Reputation Points: 33
Solved Threads: 6
Junior Poster
Liszt is offline Offline
122 posts
since Oct 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Cant compile single c++ file
Next Thread in C++ Forum Timeline: Help for Program swaping 2 of 3*3 arrays





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC