Time Protocol Class Library

Query a time server for the current time and synchronize the local system clock with that value.

Reference

Library

Class Name CNetworkTime
File Name CSTIMAV6.DLL
Version 6.0.6000.0
LibID AE1BAE85-3D72-44C9-B5F9-D68DBBACC1CF
Import Library CSTIMAV6.LIB
Dependencies None
Standard RFC 868

Remarks

The Time Protocol class provides an interface for synchronizing the local system’s time and date with that of a remote server. The time values returned are in in Coordinated Universal and be adjusted for the local host's timezone. The library enables developers to query a server for the current time and then update the system clock if desired.

Requirements

This library is supported on Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008. If you are using Windows 2000, it is required that you have Service Pack (SP4) installed. If you are using Windows XP, it is required that you have at least Service Pack 2 (SP2) installed and it is recommended that you install Internet Explorer 7.0. It is also recommended that all critical updates to the Windows operating system be installed.

The SocketTools Library Edition libraries are compatible with any development environment that supports calling functions exported from a standard dynamic link library (DLL). This includes Visual Studio 6.0, Visual Studio .NET 2003, Visual Studio 2005 and Visual Studio 2008. If you are using Visual Basic 6.0 or Visual C++ 6.0, it is required that you have Service Pack 6 (SP6) installed. If you are using Visual Studio .NET 2003, it is recommended that you install Service Pack 1 (SP1). In all cases, it is recommended that you have the current updates for your development tools installed.

Distribution

When you distribute your application that uses this library, you should install the appropriate files in the same folder as your application executable. This library is a standard Windows dynamic link library and not a self-registering COM component.


Copyright © 2008 Catalyst Development Corporation. All rights reserved.