AmendHub

vkoskiv

/

MacNTP

/

amendments

/

MacNTP.c

Amendments on September 7, 2023

Small NTP corrections

* Send actual transmit timestamp and verify it matches
* Use server transmit timestamp to set system clock instead of
the reference timestamp
* Clean up debugging gunk
vkoskiv made amendment 13 about 1 year ago

Add copyright headers

MIT license. Also copied in the one in tcp.c from upstream.
vkoskiv made amendment 12 about 1 year ago

Large rewrite, restructure the project into an INIT

* Moved NTP client to MacNTP.{c,h}
* Rewrite main to work as an INIT
* Load NTP url and utc offset from resourcs
* Fix many bugs
* Add many new bugs
* Remove all ANSI dependencies, it's a big library
* Remove util.{c,h}
* Add basic debugging, uncomment DEBUGGING define in main.c to enable
vkoskiv made amendment 11 about 1 year ago