Class TPINGSend

DescriptionHierarchyFieldsMethodsProperties

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 > TObject

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public function Ping(const Host: string): Boolean;

Description

Public constructor Create;

 

Public destructor Destroy; override;

 

Public function Ping(const Host: string): Boolean;

Send ICMP ping to host and count PingTime. If ping OK, result is True.

Properties

Overview

Published property PacketSize: Integer;
Published property PingTime: Integer;
Published property ReplyCode: byte;
Published property ReplyError: TICMPError;
Published property ReplyErrorDesc: string;
Published property ReplyFrom: string;
Published property ReplyType: byte;
Published property Sock: TICMPBlockSocket;

Description

Published property PacketSize: Integer;

Size of PING packet. Default size is 32 bytes.

Published property PingTime: Integer;

Time between request and reply.

Published 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

Published property ReplyError: TICMPError;

Return type of returned ICMP message. This value is independent on used protocol!

Published property ReplyErrorDesc: string;

Return human readable description of returned packet type.

Published property ReplyFrom: string;

From this address is sended reply for your PING request. It maybe not your requested destination, when some error occured!

Published property ReplyType: byte;

ICMP type of PING reply. Each protocol using another values! For IPv4 and IPv6 are used different values!

Published property Sock: TICMPBlockSocket;

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