Syntax
Ping <hostname-or-address>Description
Returns the roundtrip ping time for the specified Internet host.Parameters
<hostname-or-address>
- The Internet host name or numeric address.
Remarks
This statement performs a ping communication to the specified host. If no response is received within the timeout period specified by the intrinsic variable PingTimeoutMs, -1 is returned.Example
Local roundTripMs
roundTripMs = Ping "www.p1.com"
MessageBox Title="Round trip milliseconds" Text=roundTripMs StayInFrontThe above script fragment displays the roundtrip ping time to the P1 Systems host.