HS NTP C Source Library

An application library in C that will implement the client side of Network Time Protocol (POP3) over UDP socket layer.
Download

HS NTP C Source Library Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free to try
  • Language:
  • English
  • Price:
  • $362.00
  • Publisher Name:
  • Hillstone Software
  • Operating Systems:
  • Windows 7, Windows 2003, Windows 2000, Windows Vista, Windows XP
  • File Size:
  • 232.06K

HS NTP C Source Library Tags


HS NTP C Source Library Description

HS NTP is an application library in C (supplied with full source code) that will implement the client side of Network Time Protocol (POP3) over UDP socket layer according to RFC1769 and RFC1305. HS NTP Library will allow your application to synchronise local system time to remote NTP server time. How it works: 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. NOTE: The provided application is a demo that provides users with the functionality of the library. Main features: NTP Client Operation Server name resolution Non-blocking asynchonous operation Supports millisecond resolution


HS NTP C Source Library Related Software