Message-Id: <199912231232.OAA15100@www.Foo.COM> From: "S. M. Halloran" Organization: User RFC 822- and 1123-compliant To: djgpp AT delorie DOT com Date: Thu, 23 Dec 1999 14:40:09 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Accessing Internet Time X-mailer: Pegasus Mail for Win32 (v3.12b) Reply-To: djgpp AT delorie DOT com I want to add a feature to my program to reference time from the Internet rather than use the system (machine) clock, for several reasons I won't list here. I plan on making connections to NTP secondary time servers to get my timestamps for this. Since my program is a CGI app (for the present), a net connection is virtually assurred. My questions are: 1. Is accessing a time server by NTP the way I ought to go to get my time notes: (i) I don't want to reference any host on my LAN or subnet...I'd just get my host's anyway (ii) getting the system's time will be a backup procedure if a timeout getting it on the net occurs. 2. I don't want to write the code for getting my time, whether through NTP or whatever else is suggested, if someone has already implemented the RFCs for me. Can someone point me to libraries (must link with Win32/LCC) or source? Thanks. Mitch Halloran