Indy 9
|
TIdWhoIsServer = class(TIdTCPserver)
property DefaultPort;
constructor Create(AOwner: TComponent); override;
property OnCommandLookup: TGetEvent;
AThread is the thread for the client connection. ALookup is the domain query to be resolved by the WhoIs server.
Note: A server implementation must assign a procedure to the event handler to allow responding to the event notification. The procedure is responsible for all aspects of resolving the WhoIs query in ALookup, and writing appropriate return values or error messages to the client connection in AThread.