HS NTP C Source Library 1.10

Software information
Windows 7/Vista/XP/Server, Unix/Linux, Mac OS
Hillstone Software
File size:
0 Kb
Date added:
August 28, 2014
Product page:
Description from the Publisher

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 synchronize local system time to remote NTP server time.

The use of HS NTP C Source Library is Royalty Free.

HS NTP includes the C source for the following platforms:

  • Windows
  • Linux
  • Apple MAC OS X
  • Apple iPhone iOS
  • WinCE (Windows Embedded CE)

First user application calls HS NTP initialization 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 on Windows or BSD sockets on linux or MAC OS X or iPhone iOS - HS NTP does all transmission, reception and event handling over socket layer.


  • NTP Client Operation
  • Server name resolution
  • Non-blocking asynchonous operation
  • Supports millisecond resolution
Users reviews & testimonials

This software is not reviewed yet.

Other downloads from this publisher

HS X.25 is a software library in C (supplied with full source code) which implements ITU-T recommendation X.25. Includes RFC1613 Cisco XOT module for X.25 over IP applications.

HS Download HTTP Client Library in C/C++ for Windows and Linux. HS Download is an HTTP client library and Web download SDK for Windows and Linux. HS Download is implemented in C/C++

HS DHCP C Source Library implements the server side of Dynamic Host Configuration Protocol (DHCP) as per RFC2131

HS Host Monitor - IP Network Monitoring Software for Windows which allows you to monitor up down status IP hosts on local LAN and on the Internet. Monitors using ICMP ping or TCP, sends email notifications to network admin

HS COM is a software library (with full C source code) that allows a calling user application to access serial communication ports (COM devices) under 32-bit MS Windows operating systems. It allows to transmit data, receive data and control the line.