Difference between revisions of "TPing"
Jump to navigation
Jump to search
Markus.humm (talk | contribs) (Methods added) |
Markus.humm (talk | contribs) (Properties added) |
||
| Line 16: | Line 16: | ||
{| | {| | ||
| width="140" valign="top" | [[TPing.Address | Address]] |||| The host's IP or DNS address which will be pinged. | | width="140" valign="top" | [[TPing.Address | Address]] |||| The host's IP or DNS address which will be pinged. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.DNSResult | DNSResult]] |||| ?. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.ErrorCode | ErrorCode]] |||| ?. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.ErrorString | ErrorString]] |||| ErrorMessage. | ||
|- | |- | ||
| valign="top" | [[TPing.Flags | Flags]] |||| Integer? | | valign="top" | [[TPing.Flags | Flags]] |||| Integer? | ||
| + | |- | ||
| + | | valign="top" | [[TPing.HostName | HostName]] |||| ?. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.HostIP | HostIP]] |||| ?. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.ICMPDLLHandle | ICMPDLLHandle]] |||| TPing uses the ICMP internally via this handle. | ||
|- | |- | ||
| valign="top" | [[TPing.Name | Name]] |||| Name of the instance. | | valign="top" | [[TPing.Name | Name]] |||| Name of the instance. | ||
| + | |- | ||
| + | | valign="top" | [[TPing.Reply | Reply]] |||| ?. | ||
|- | |- | ||
| valign="top" | [[TPing.Size | Size]] |||| Size of the ICMP packet sent in bytes. | | valign="top" | [[TPing.Size | Size]] |||| Size of the ICMP packet sent in bytes. | ||
Revision as of 11:51, 20 November 2006
Main page -> ICS component reference -> TPing
Contents
Overview
| unit | Ping.pas | |
| inheritance |
The TPing component implements at least parts of the ICMP protocoll.
It can be used to check whether some other host is reachable or not.
Properties
| Address | The host's IP or DNS address which will be pinged. | |
| DNSResult | ?. | |
| ErrorCode | ?. | |
| ErrorString | ErrorMessage. | |
| Flags | Integer? | |
| HostName | ?. | |
| HostIP | ?. | |
| ICMPDLLHandle | TPing uses the ICMP internally via this handle. | |
| Name | Name of the instance. | |
| Reply | ?. | |
| Size | Size of the ICMP packet sent in bytes. | |
| Tag | Integer value which can be used for your own purposes, e.g. when iterating through all controls of a form. | |
| Timeout | Time in miliseconds which may elapse between sending and receiving the ICMP packet. | |
| TTL | Sets the Time To Live value within the packet being sent. |
Methods
| CancelDNSLookup | Cancel a running DNS lookup. | |
| Create | Create the instance. | |
| DNSLoopup | Look up the IP to a given DNS address. | |
| Ping | Sends the ICMP packet. |
Events
| OnDisplay | ?. | |
| OnEchoReply | Called when the answer to the ping arrive. |
How to