Information used by and obtained by the ping operation. More...
#include <icmpsock.h>
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. |
Information used by and obtained by the ping operation.
PICMPSocket::PingInfo::PingInfo | ( | WORD | id = (WORD) PProcess::Current().GetProcessID() |
) |
Create Ping information structure.
const BYTE* PICMPSocket::PingInfo::buffer |
Send buffer (if NULL, defaults to 32 bytes).
Size of buffer (< 64k).
Time for packet to make trip.
Arbitrary identifier for the ping.
Destination address of reply packet.
Source address of reply packet.
Sequence number for ping packet.
Status of the last ping operation.
Time To Live for packet.