Difference between revisions of "Ping.Ping"
Jump to navigation
Jump to search
Markus.humm (talk | contribs) (→How to) |
Markus.humm (talk | contribs) |
||
Line 15: | Line 15: | ||
== Best practices == | == Best practices == | ||
− | Do not set the [[TPing.Size|Size]] property to high values because older | + | Do not set the [[TPing.Size|Size]] property to high values (like 65535 or similar) because older |
− | Windows hosts have a bug which | + | Windows hosts have a bug which will lead to a crash on the host side |
− | (called "ping of death"). Fixes are available | + | (called "ping of death"). Fixes are available and should have been installed by everybody now as this affects Windows versions older that Windows 7 from 2009. |
− | have installed | ||
== How to == | == How to == | ||
If you want to test whether a connection also supports bigger data packets change the default package size. | If you want to test whether a connection also supports bigger data packets change the default package size. |
Latest revision as of 15:51, 27 January 2019
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 (like 65535 or similar) because older Windows hosts have a bug which will lead to a crash on the host side (called "ping of death"). Fixes are available and should have been installed by everybody now as this affects Windows versions older that Windows 7 from 2009.
How to
If you want to test whether a connection also supports bigger data packets change the default package size.