Response Event
Fired when a response packet is received.
Syntax
typedef struct { int RequestId; String ResponseSource; String ResponseStatus; int ResponseTime; } TipwPingResponseEventParams; typedef void __fastcall (__closure *TipwPingResponseEvent)(System::TObject* Sender, TipwPingResponseEventParams *e); __property TipwPingResponseEvent OnResponse = { read=FOnResponse, write=FOnResponse };
Remarks
The RequestId parameter is used together with the RequestId property to match requests with responses.
ResponseStatus is set to "OK" for normal operation, or it contains an error string such as "Network unreachable", "Host unreachable", etc.