Mwnci ping() Function

Syntax

ping(string)

Description

The ping() function returns true if a successful IMCP_ECHO_RESPONSE from the given domain or IP address is found.

false is also returned if the ICMP_ECHO_RESPONSE is not found.

Example

include("file")
println(ping("google.com"))
println(ping("someweirddomain.uk"))


true
false