Core Function Ping

From Sputnik Wiki
Jump to: navigation, search
Ping( <ip address/host name> )

Contents

Description

Pings a host and returns the roundtrip-time.

Parameters

<ip address/host name>

A host name to ping such as "uberfox.no-ip.org" or "google.com" or an IP address

Return Value

Success: Returns the roundtrip-time in milliseconds ( greater than 0 ).

Failure: Returns -1 if host is not pingable or other network errors occured.

Remarks

None.

Example

println( Ping("uberfox.no-ip.org") );
println( Ping("google.com") );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox