Indy 9
|
TGetEvent = procedure (AThread: TIdPeerThread; ALookup: string) of object;
TGetEvent is the event type signalled to the TIdWhoIsServer.OnCommandLookup event handler, and allows the server to implement the platform-specific mechanisms required to provide the client connection in AThread with data for the network service.
Applications must assign a procedure to the event handler to allow responding to the event notification. The event handler can provide data from local resources, or access data on servers provided by the Network Information Center (NIC) at SRI International at 26.0.0.73 or 10.0.0.51. The event can formulate and write responses using the connection in AThread.