Function EN Version 4.50

@IPPing

Internet

Syntax

@IPPing(TEXTRECHNERNAME;FNTIMEOUTMS;FNPACKETREPEATE;FNPACKETSIZE;RETFNLISTPACKETSRECEIVED);

Description

Currently available for Windows only!!!

In TEXT TEXTRECHNERNAME specifies the host name or host V4 IP address (as TEXT for example "172.16.1.100") of the host to be pinged.
In FN FNTIMEOUTMS specifies the timeout in milliseconds (applies to each operation individually).
In FN FNPACKETREPEATE specifies the number of repetitions.
In FN FNPACKETSIZE specifies the packet size in bytes.

In RETFNLISTPACKETSRECEIVED is assigned FLOATLIST with the response times of the received packets is returned.
(Fewer packets may be received than specified in FN FNPACKETREPEATE .
If 0 (zero) packets were received, the pinged system does not respond!)

Example: @IPPing(TEXTRECHNERNAME;FNTIMEOUTMS;FNPACKETREPEATE;FNPACKETSIZE;RETFNLISTPACKETSRECEIVED);

TEXTRECHNERNAME:="172.16.1.100";
FNTIMEOUTMS:=1000;
FNPACKETREPEATE:=4;
FNPACKETSIZE:=32;
Ret:=@IPPing(TEXTRECHNERNAME;FNTIMEOUTMS;FNPACKETREPEATE;FNPACKETSIZE;RETFNLISTPACKETSRECEIVED);

The above example uses the default values with 1000ms, 4 repetitions and packet size of 32.
The return value is placed in the variable RETFNLISTPACKETSRECEIVED.

Note : This text was machine-translated and may contain inaccuracies.