Perform an ICMP Ping

ok, ip, rtt = net.ping( device, [delayms], [ppp])

Parameter Type Description
device string IP address or name to ping
delayms integer Maximum number of milliseconds (default 250ms, max 2000ms)
ppp boolean Whether to route via PPP
Return Type Description
ok boolean Whether a PING was received
ip string The IP address of the device
rtt integer The maximum round trip time (milliseconds)