
|
HS NTP C Source Library
-
Version
1.10
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
|