ReadonlyaddressThe resolved IP address of the target, or "<unresolved address>" if DNS has not yet completed.
The total number of ICMP Echo Requests to send. May be increased while the ping is running provided the new value is greater than the number already sent.
Readonlyistrue when the ping has been suspended with pause().
Readonlyistrue while the ping is actively sending and waiting for replies.
ReadonlysentThe number of ICMP Echo Requests sent so far.
ReadonlyserverThe hostname or IP address string originally passed to hs.network.ping().
ReadonlytypeAlways "HSNetworkPing".
Immediately stops the ping, firing the "didFinish" callback with statistics collected so far.
Returns packet statistics for all sent packets, or for a single packet by its zero-based sequence number.
OptionalsequenceNumber: numberOmit to get all packets as an array; pass an integer to get a single packet object, or null if that sequence does not exist.
An array of packet objects when called without arguments, or a single packet object (or null).
Suspends the ping. No further packets are sent until resume() is called.
This ping object if still active, or null if the ping has already finished.
Resumes a paused ping, continuing from where it left off.
This ping object if still active, or null if the ping has already finished.
Replaces the ping's callback function.
The new callback function.
This ping object for chaining.
Returns a human-readable summary of the ping results in standard ping format.
A multi-line string with transmission statistics and round-trip timing.
Object representing an active or completed ICMP ping operation. Create instances with
hs.network.ping().