Skip to main content
Version: v4 (Stable)

GetPingResponse

GetPingResponse(sIpAddress AS String, nTime AS Integer, nPingCount AS Integer) AS Integer

Returns the first available ping response, with the count of processed pings for the concerned address in <nPingCount>.

The returned response can be:

  • -1 = no address to ping.
  • 0 = no available ping response (but addresses are waiting for ping response).
  • 1 = timeout on ping response, pinged address returned in <sIpAddress>.
  • 2 = ping response received, pinged address returned in <sIpAddress>, elapsed time returned in <nTime> in ms.