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.


Domain name or IP Address to ping. Note the domain has to have Ping service running.

Returns the number of hops from the local IP to the target IP.

Time ping took in milliseconds


Depends on wwIPStuff.dll for domain lookup

See also:

Class wwAPI

© West Wind Technologies, 1996-2022 • Updated: 11/04/10
Comment or report problem with topic