Sends ICMP Echo Requests to server and reports results via a callback.
DNS resolution and the first ping begin immediately. The returned object can be used to
pause, resume, or cancel the ping, and to read statistics.
timeout (seconds per packet, default 2.0), family ("any" | "ipv4" | "ipv6", default "any"),
and callback (function).
Sends ICMP Echo Requests to
serverand reports results via a callback. DNS resolution and the first ping begin immediately. The returned object can be used to pause, resume, or cancel the ping, and to read statistics.timeout(seconds per packet, default 2.0),family("any"|"ipv4"|"ipv6", default"any"), andcallback(function).