Unit pingsend

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TPINGSend Implementation of ICMP PING and ICMPv6 PING.

Functions and Procedures

function PingHost(const Host: string): Integer;
function TraceRouteHost(const Host: string): string;

Types

TICMPError = (...);

Constants

ICMP_ECHO = 8;
ICMP_ECHOREPLY = 0;
ICMP_UNREACH = 3;
ICMP_TIME_EXCEEDED = 11;
ICMP6_ECHO = 128;
ICMP6_ECHOREPLY = 129;
ICMP6_UNREACH = 1;
ICMP6_TIME_EXCEEDED = 3;

Description

Functions and Procedures

function PingHost(const Host: string): Integer;

A very useful function and example of its use would be found in the TPINGSend object. Use it to ping to any host. If successful, returns the ping time in milliseconds. Returns -1 if an error occurred.

function TraceRouteHost(const Host: string): string;

A very useful function and example of its use would be found in the TPINGSend object. Use it to TraceRoute to any host.

Types

TICMPError = (...);

List of possible ICMP reply packet types.

Constants

ICMP_ECHO = 8;
 
ICMP_ECHOREPLY = 0;
 
ICMP_UNREACH = 3;
 
ICMP_TIME_EXCEEDED = 11;
 
ICMP6_ECHO = 128;
 
ICMP6_ECHOREPLY = 129;
 
ICMP6_UNREACH = 1;
 
ICMP6_TIME_EXCEEDED = 3;
 
Generated by PasDoc 0.9.0 on 2012-04-23 21:38:51