Internet Direct (Indy)
Home
PreviousUpNext
TIdTimeUDP.SyncTime

Updates the local computer time to match a value from the Time server.

Boolean - True when local time has been updated.

SyncTime is a Boolean function used to synchronize the local system clock with the Time server. 

Set the values for the Host and Port properties prior to calling SyncTime. 

When the value from the server is not empty, the local system clock will be updated using SetLocalTime and the value indicated in DateTime.

Host Port DateTime

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.