Description
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.
Related:
C Ntp Mac Os X - Network Time Protocol - Ntp - Ntp C - Ntp C++ - Ntp Client C++ - Ntp Client Source - Ntp Library - Ntp Linux - Ntp Source Code - Ntp Wince - Rfc 1769 - Sntp C - Sntp C++ - Sntp Component - Sntp Library - Sntp Source Code
User Reviews:
Related:
EaseSoft Barcode ActiveX Control 2.VEaseSoft ActiveX Controls are easy to work in any Windows application that supports ActiveX control technology including Microsoft Access, MS...By: David White |
Shareware |
VISCOM TIFF ActiveX SDK 6.51image, picture, graphic viewer ocx / activex.VB.Net, c#, VB, VC++, PowerBuilder, VFP, .Net mark a selection, crop, zoom in , zoom out on selection...By: viscomsoft |
Shareware |
The Design of C++0xIn this article, Bjarne Stroustrup examines the main principles used to guide the development of C++0x, the next version of the C++ Standard.By: Carlos Aquino |
Freeware |
BarcodeReader-ActiveX 1.9BarcodeReader-ActiveX reads barcodes from images or data streams to get their parameters. It recognizes all barcodes from an image at a time, reads...By: Mike Zeller |
Shareware |
EZTwain Pro Toolkit 3.VIIIEZTwain is designed to provide robust scanning and image-input through TWAIN, with a minimum effort by the programmer. Adding basic TWAIN support...By: Dosadi |
Shareware |
javax.usb for Mac OS X 1.0This project is an effort to implement the necesssary libraries to permit the Open Source javax.By: Javaxusbosx |
Freeware |
GCC D Compiler for Mac OS X 5664GCC D Compiler (GDC) for Mac OS X (10.By: Gdcmac |
Freeware |
Mac OS X tools for Palm development 1.3Tools for Palm OS developers on Mac OS X.By: Osx-palm-tools |
Freeware |
Decode Mac OS X Crash Log 1.0.2A program to apply a link map to a Mac OS X crash log that came from a build without traceback tables.By: Macprang |
Freeware |
Porting ExTeX to Mac OS X (Fink) 8062This project aims to port ExTeX, a high quality typesetting system developed for UNIX operating system to Macintosh OS X using Fink, a package...By: Portingextex |
Freeware |