Class TPINGSend
Unit
pingsend
Declaration
type TPINGSend = class(TSynaClient)
Description
Implementation of ICMP PING and ICMPv6 PING.Note: Are you missing properties for specify server address and port? Look to
parent TSynaClient too!
Hierarchy
TPINGSend > TSynaClient > TObjectMethods
Overview
 |
constructor Create; |
 |
destructor Destroy; override; |
 |
function Ping(const Host: string): Boolean; |
Description
 |
constructor Create; |
 |
destructor Destroy; override; |
 |
function Ping(const Host: string): Boolean; |
Send ICMP ping to host and count PingTime. If ping OK, result is
True
.
Properties
Overview
Description
 |
property PacketSize: Integer; |
Size of PING packet. Default size is 32 bytes.
 |
property PingTime: Integer; |
Time between request and reply.
 |
property ReplyCode: byte; |
ICMP code of PING reply. Each protocol using another values! For IPv4 and
IPv6 are used different values! For protocol independent value look to
ReplyError
Return type of returned ICMP message. This value is independent on used
protocol!
 |
property ReplyErrorDesc: string; |
Return human readable description of returned packet type.
 |
property ReplyFrom: string; |
From this address is sended reply for your PING request. It maybe not your
requested destination, when some error occured!
 |
property ReplyType: byte; |
ICMP type of PING reply. Each protocol using another values! For IPv4 and
IPv6 are used different values!
Socket object used for TCP/IP operation. Good for seting OnStatus hook, etc.
Generated by PasDoc 0.8.8.2 on 2005-01-19 20:01:19