Indy 9
|
TIdWhois = class(TIdTCPClient)
constructor Create(AOwner: TComponent); override;
function WhoIs(const ADomain: string): string;
WhoIs calls Connect to open the connection to the WhoIs server identified in Host and Port, and writes the query in ADomain to the WhoIs server. WhoIs reads pending resuilts using the AllData method prior to calling Disconnect.