Difference between revisions of "TPing.Address"
Jump to navigation
Jump to search
Markus.humm (talk | contribs) (Created page) |
(No difference)
|
Revision as of 15:55, 27 January 2019
Main page -> ICS component reference -> TPing -> Address
Definition
property Address: string;
Description
This property specifies the host name to which the ping component shall send the ICMP packets used to test availability of this host. Host address is either a DNS name or an ip-address.
Example
<syntaxhighlight lang="delphi">
Ping.Address := '192.168.0.2; // check if a PC with the IPv4 address 192.168.0.2 is available in your network Ping.Ping;
Ping.Address := 'wikipedia.org'; // check if wikipedia.org serving host is online Ping.Ping;
</syntaxhighlight>