Response Event

Fired when a response packet is received.

Syntax

class PingResponseEventParams {
public:
  int RequestId();
  const QString &ResponseSource();
  const QString &ResponseStatus();
  int ResponseTime();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void Response(PingResponseEventParams *e);
// Or, subclass Ping and override this emitter function. virtual int FireResponse(PingResponseEventParams *e) {...}

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Qt Edition - Version 20.0 [Build 8307]