/aux-tinyntpdate

Tiny NTP client for older machines

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

NTP Client

This is a tiny NTP client for old UNIX, primarily aimed at A/UX, but will probably work on anything with BSD sockets where the definitions in modern_types.h are valid.

It's based on David Lettier's "Let's make an NTP client in C", but massaged to build under A/UX with gcc, and massaged to be closer to my own tastes in maintainability (with some tidy-ups like multiple initialisations of variables removed).

Build

Under A/UX: tested with gcc-2.7.2 from jagubox (also available in my aux-minivnc repository).

Credits

© 2014 David Lettier., http://www.lettier.com/ (see Let's make a NTP Client in C).

Portions © 2022, Rob Mitchelmore

License

See LICENSE.