HS NTP is a C library that implements the network time protocol client-side over UDP socket layer, adhering to RFC1769 and RFC1305. With the source code, it can synchronize system time to NTP server time.
This software offers a range of features, including the ability for user applications to synchronize local system time with remote NTP server time. Once initialized, the user application calls HS NTP's HsNtpGetTime, which enables a time difference calculation between the local system and remote NTP server. A user may specify the NTP server name or IP address and source UDP port to use. HS NTP library then proceeds to resolve the server name, formats, and sends an NTP time request packet, following RFC1305 and RFC1769 standard.
Once the library receives an NTP time reply from the NTP server, it analyzes and reports the resulting time difference to the user application via callback function. The event callback parameters contain the offset value in seconds, which the local clock applies to synchronize with remote NTP server time.
With a modular design, HS NTP is easily portable to any environment, allowing for quick implementation. The library interfaces with HS Sock library internally, enabling seamless UDP transport services without the need for the user application to worry about Winsock's transmission, reception, and event handling over the socket layer.
All in all, HS NTP is an excellent software tool for creating clients requiring synchronization to remote NTP servers. Its comprehensive features, cross-platform compatibility and modular design make it an excellent choice for any user application.
Version 1.10: New maintenance release
Version 1.5: - Added support for WinCE
Version 1.3:
- HS NTP Library now runs on Win32/64, Linux/Unix, MAC OS X, iPhone iOS
- GUI update
Version 1.2:
- HS NTP Library now supports millisecond resolution
- GUI update
Version 1.1: HS NTP Library now supports millisecond resolution
Version 1.0: New Release