HS NTP C Source Library

HS NTP is a software library in C (supplied with full source code) implements the client side of Network Time Protocol (NTP) over UDP socket layer according to RFC1769 and RFC1305. HS NTP Library allows to synchronise system time to NTP server time

HS 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

System Requirements:

WinXP, WinVista, WinVista x64, Win7 x32, Win7 x64, Mac OS X, Mac Other, Windows2003, WinServer, Windows Vista Ultimate, Windows Vista Ultimate x64, Windows CE, iPhone, iPod, Unix, Linux, Windows Media Center Edition 2005, Windows Vista Starter, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Home Basic x64, Windows Vista Home Premium x64, Windows Vista Business x64, Windows Vista Enterprise x64, Linux Console, Mac PPC, Mac OS X 10.5, Mac OS X 10.4, Mac OS X 10.3, Mac OS X 10.2, Mac OS X 10.1

Version:

1.7

Last updated:

2013-01-03 18:29:03

Publisher:

Hillstone Software

Homepage:

http://www.hillstone-software.com

File name:

hs_ntp_demo.exe

File size:

0.49MB

License:

Shareware

Price:

362

You may also like...