PICMPSocket::PingInfo Class Reference

Information used by and obtained by the ping operation. More...

#include <icmpsock.h>

List of all members.

Public Member Functions

 PingInfo (WORD id=(WORD) PProcess::Current().GetProcessID())
 Create Ping information structure.

Public Attributes

Supplied data
WORD identifier
 Arbitrary identifier for the ping.
WORD sequenceNum
 Sequence number for ping packet.
BYTE ttl
 Time To Live for packet.
const BYTE * buffer
 Send buffer (if NULL, defaults to 32 bytes).
PINDEX bufferSize
 Size of buffer (< 64k).
Returned data
PTimeInterval delay
 Time for packet to make trip.
Address remoteAddr
 Source address of reply packet.
Address localAddr
 Destination address of reply packet.
PingStatus status
 Status of the last ping operation.


Detailed Description

Information used by and obtained by the ping operation.


Constructor & Destructor Documentation

PICMPSocket::PingInfo::PingInfo ( WORD  id = (WORD) PProcess::Current().GetProcessID()  ) 

Create Ping information structure.


Member Data Documentation

WORD PICMPSocket::PingInfo::identifier

Arbitrary identifier for the ping.

WORD PICMPSocket::PingInfo::sequenceNum

Sequence number for ping packet.

BYTE PICMPSocket::PingInfo::ttl

Time To Live for packet.

const BYTE* PICMPSocket::PingInfo::buffer

Send buffer (if NULL, defaults to 32 bytes).

PINDEX PICMPSocket::PingInfo::bufferSize

Size of buffer (< 64k).

PTimeInterval PICMPSocket::PingInfo::delay

Time for packet to make trip.

Address PICMPSocket::PingInfo::remoteAddr

Source address of reply packet.

Address PICMPSocket::PingInfo::localAddr

Destination address of reply packet.

PingStatus PICMPSocket::PingInfo::status

Status of the last ping operation.


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 01:21:37 2008 for PTLib by  doxygen 1.5.1