• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Network Time Protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Network Time Protocol
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Re: Getting a HTTP response with read streams
  • Next by Date: Re: Network Time Protocol
  • Previous by thread: set Async socket connection timeout
  • Next by thread: Re: Network Time Protocol
  • Index(es):
    • Date
    • Thread