IP*Works! 2016 Delphi Edition
IP*Works! 2016 Delphi Edition
Questions / Feedback?

Response Event

Fires after a DNS query.

Syntax

type TResponseEvent = procedure Response(Sender: TObject; RequestId: Integer; const Domain: String; StatusCode: Integer; const Description: String; Authoritative: Boolean) of object;

property OnResponse: TResponseEvent read FOnResponse write FOnResponse;

Remarks

The Response event will fire after a call to Query. The RequestId parameter contains the request id associated with the original query. Domain is the domain of the query. The Authoritative parameter is true if the response is from an authoritative name server. If there is an error returned by the server, StatusCode and Description provide them.

Once the query is complete, a single Response event will fire, and the following properties will contain the results:

StatusCodeThe success or error code of the DNS query.
StatusA standard string interpretation of StatusCode.
RecordsThe Records in the last DNS response.
RecordSourceThe source (type) of records being listed.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 Delphi Edition - Version 16.0 [Build 7353]