Internet Direct (Indy)
Home
PreviousUpNext
TIdTimeUDPServer Class

Implements a UDP-based Time protocol server.

Pascal
TIdTimeUDPServer = class(TIdCustomTimeUDPServer);

TIdTimeUDPServer is a TIdUDPServer descendant that implements a TCP-based Time Protocol server, as described in the Internet Standard document: 

RFC 868 - Time Protocol  

Time is a simple protocol for synchronizing time on a local network. If you need the time and day only in a human readable form, we recommend that you use the TIdDayTimeServer component. 

TIdTimeUDPServer allows multiple simultaneous connections to the server by using listener threads specified in the Binding for the server. Listener threads use the DefaultPort value as their port number unless specifically overriden in the binding for the server. 

TIdTimeUDPServer provides an overridden method that handles execution of client connection contexts using the OnExecute event handler. 

The BaseDate property specifies the date value used in calculating the cardinal value returned in the server implementation. 

Please note that the Time protocol in its current form cannot handle most dates after the year 2035. This limitation is stated in RFC 868.

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.