Network Time Protocol
Network Time Protocol
- Subject: Network Time Protocol
- From: Patrick Perroud <email@hidden>
- Date: Sat, 23 Dec 2006 10:42:04 +0100
Hello,
My C++ carbon application is needing to get current date & time not
from current system clock but from a network time server.
In order to achieve that I had figured out 2 possible strategies:
1 - to select by code *Set date & Time automatically* at Date & Time
system level at first (if not selected yet) then to get a local date
& time that was synchronized for sure with the selected network time
server,
2 - to query directly a network time server using NTP or any other
similar protocol or wrapper available in the Carbon environment APIs,
After a few google searches - I releazed I had no idea how any of
these 2 possible solutions (or any other that would work as well if
not better) could be implemented.
Therefore I would appreaciate greatly any pointers and advices that
would lead me to an implementation that works steadily.
Best regards
Patrick Perroud
- - - - - - - - -
http://p.perroud.free.fr/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden