Ping.Ping
Definition
method Ping: integer;
Description
Ping is used to send a ICMP datapacket to a host. Purpose is to check whether the host is online (answers the packet) or is not available/reachable (no icmp answer within a given time).
In the simplest form the ping method returns 0 for failure and anything else if the host could be reached.
Example
Best practices
Do not set the Size property to high values because older Windows hosts have a bug which can lead to a crash on the host side (called "ping of death"). Fixes are available but not everybody might have installed them.
How to
If you want to test whether a connection also supports bigger data packets change the default package size.