Class TPINGSend

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPINGSend = class(TSynaClient)

Description

Implementation of ICMP PING and ICMPv6 PING.

Hierarchy

Overview

Methods

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

Properties

Published property PacketSize: Integer read FPacketSize Write FPacketSize;
Published property PingTime: Integer read FPingTime;
Published property ReplyFrom: string read FReplyFrom;
Published property ReplyType: byte read FReplyType;
Published property ReplyCode: byte read FReplyCode;
Published property ReplyError: TICMPError read FReplyError;
Published property ReplyErrorDesc: string read FReplyErrorDesc;
Published property Sock: TICMPBlockSocket read FSock;
Published property TTL: byte read FTTL write FTTL;

Description

Methods

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

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

Public constructor Create;
 
Public destructor Destroy; override;
 

Properties

Published property PacketSize: Integer read FPacketSize Write FPacketSize;

Size of PING packet. Default size is 32 bytes.

Published property PingTime: Integer read FPingTime;

Time between request and reply.

Published property ReplyFrom: string read FReplyFrom;

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

Published property ReplyType: byte read FReplyType;

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

Published property ReplyCode: byte read FReplyCode;

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 read FReplyError;

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

Published property ReplyErrorDesc: string read FReplyErrorDesc;

Return human readable description of returned packet type.

Published property Sock: TICMPBlockSocket read FSock;

Socket object used for TCP/IP operation. Good for seting OnStatus hook, etc.

Published property TTL: byte read FTTL write FTTL;

TTL value for ICMP query


Generated by PasDoc 0.9.0 on 2012-04-23 21:38:51