|Top Previous Next|
This function sends a ICMP-echo (ping) packet to a designated host IP address and returns the reply time.
To get more detailed statistics on NX32L devices, the alternative function netPing can be used.
On NX32 devices this function only supports iface=1 (Mobile network).
IP : DINT
The IP address of the host.
iface : SINT
The network interface to use. 1 = Mobile network, 2 = LAN network, etc. (See Network)
timeout : UINT (default 500)
The time to wait for a reply from the host in milliseconds.