Skip to main content
Version: v4 (Stable)

GetPingStatus

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

Returns the status of pinged address <sIpAddress>, with the count of processed pings for this address in <nPingCount>.

The returned status can be:

  • -1 = invalid address (not pinged).
  • 0 = waiting for ping response.
  • 1 = no ping response received (timeout).
  • 2 = ping response received (elapsed time returned in <nTime> in ms).