HS NTP C Source Library 1.10

Shareware

484 KB

Publisher Description

Window 8 CompatibleHS NTP is a software library in C (supplied with full source code) which implements the client side of Network Time Protocol (NTP) over UDP socket layer according to RFC1769 and RFC1305. HS NTP Library allows a user application to synchronise local system time to remote NTP server time. HS NTP includes the C source for the following platforms: Windows, Linux, MAC OS X, iPhone iOS, WinCE First user application calls HS NTP initialisation function supplying pointers to callback functions in user code for timer management and for reporting NTP events to user. To obtain time difference between local system and remote NTP server, the user application calls HsNtpGetTime function, specifying NTP server name or IP address and source UDP port to use. HS NTP library then resolves the server name, formats and sends NTP time request packet according to RFC1305 and RFC1769 standard. Once HS NTP has received NTP time reply from NTP server it analyses the reply and reports the resulting time difference to user application via callback function. The parameters to this event callback contain the offset value in seconds necessary to apply to local clock in order to synchronize it to the time at remote NTP server. Modular design makes it easy to port HS NTP protocol module to any environment. HS NTP internally at a lower layer interfaces to HS Sock library which provides UDP transport services. User application need not worry about Winsock - HS NTP does all transmission, reception and event handling over socket layer.

Download and use it now: HS NTP C Source Library

Add a comment...

Please tell us your experience with HS NTP C Source Library

Related Programs

HS COM C Source Code Library

HS COM is a serial communication library implemented in C language. HS COM runs on Windows and interfaces to Win32 serial communication API. HS COM allows applications communicate with any device presented in the OS as a COM port. The...

SNTP ActiveX Control

SNTP ActiveX Control is a lightweight and powerful Simple Network Time Protocol ActiveX control that can be used for very accurate local clock synchronization with a remote time server across the Internet. SNTP ActiveX control (sksntp.ocx) allows developers to integrate...

HS X.25 and RFC1613 XOT C Source Library

HS X.25 is a software library in C (supplied with full source code) which implements ITU-T recommendation X.25 - Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to...

HS Sockets C Source Library

HS Sockets is a C source code library for interfacing to network socket layer. HS Sockets runs on Windows desktop OS (XP,Vista,7), Windows Mobile OS and on Linux OS. HS Sockets is supplied with full C source code and binaries...

UI Atoms Suite with Source Code

UI Atoms offers Line of Business controls including powerful Data Form control for WPF & Silverlight with unified coding and advanced validation methods along with extra controls like Calculator and more... UI Atoms contains Form Controls, Layout Controls, and Data...