[ntp:questions] NTP for iPhone
mayer at ntp.org
Tue Feb 16 23:57:26 UTC 2010
> I am building an iPhone application that needs to ensure thats its
> time is accurate to a fraction of a second. I am considering setting
> up the devices to check the time on startup using the NTP protocol (or
> maybe the simple NTP protocol).
> 1) Are there any NTP libraries for the iPhone?
> 2) It was suggested to me that I could pull code from OpenNTPD or
> perhaps another c project (the iPhone supports c code). About how much
> work would it take to make this work on the iPhone given I have no
> experience with NTP?
> 3) Any other advice?
I suspect using the ntpd for the Mac would get you most of the way
there. I have no clue if there would be compile problems or run problems
but I believe that Apple would make their iPhone O/S as close as
possible to what they run on the Mac.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the questions