Pings a domain and returns whether it's up and running. Optionally returns hop count and time for the ping.
Note: Target site must have Ping protocol enabled in order for the target to return a Ping requiest.
o.wwAPI.Ping(lcDomain, @lnHops, @lnTime)
Return Value
.T. or .F.
Parameters
lcDomain
Domain name or IP Address to ping. Note the domain has to have Ping service running.
@lnHops
Returns the number of hops from the local IP to the target IP.
@lnTime
Time ping took in milliseconds
Remarks
Depends on wwIPStuff.dll for domain lookup
See also:
Class wwAPI© West Wind Technologies, 2023 • Updated: 11/04/10
Comment or report problem with topic