34 #ifndef PTLIB_ICMPSOCKET_H 35 #define PTLIB_ICMPSOCKET_H 142 #include "msos/ptlib/icmpsock.h" 144 #include "unix/ptlib/icmpsock.h" 149 #endif // PTLIB_ICMPSOCKET_H Definition: icmpsock.h:64
Definition: icmpsock.h:72
Create a socket channel that uses allows ICMP commands in the Internal Protocol.
Definition: icmpsock.h:46
This class defines an arbitrary time interval to millisecond accuracy.
Definition: timeint.h:55
PINDEX bufferSize
Size of buffer (< 64k).
Definition: icmpsock.h:94
Definition: icmpsock.h:73
virtual PBoolean OpenSocket()
PICMPSocket()
Create a TCP/IP protocol socket channel.
Definition: icmpsock.h:69
Information used by and obtained by the ping operation.
Definition: icmpsock.h:78
Definition: icmpsock.h:66
BOOL PBoolean
Definition: object.h:102
Definition: icmpsock.h:67
Definition: icmpsock.h:74
const BYTE * buffer
Send buffer (if NULL, defaults to 32 bytes).
Definition: icmpsock.h:92
PingStatus
Results of ICMP operation.
Definition: icmpsock.h:62
PingStatus status
Status of the last ping operation.
Definition: icmpsock.h:106
The character string class.
Definition: pstring.h:108
PBoolean Ping(const PString &host)
Send an ECHO_REPLY message to the specified host and wait for a reply to be sent back.
Definition: icmpsock.h:68
Definition: icmpsock.h:71
A class describing an IP address.
Definition: ipsock.h:75
BYTE ttl
Time To Live for packet.
Definition: icmpsock.h:90
Internet Protocol Datagram Socket class.
Definition: ipdsock.h:45
static PProcessIdentifier GetCurrentProcessID()
Get the platform dependent process identifier for the currentprocess.
PTimeInterval delay
Time for packet to make trip.
Definition: icmpsock.h:100
Definition: icmpsock.h:63
PingInfo(WORD id=(WORD) PProcess::GetCurrentProcessID())
Create Ping information structure.
Definition: icmpsock.h:70
Address localAddr
Destination address of reply packet.
Definition: icmpsock.h:104
const char * GetProtocolName() const
This function returns the protocol name for the socket type.
WORD sequenceNum
Sequence number for ping packet.
Definition: icmpsock.h:88
Address remoteAddr
Source address of reply packet.
Definition: icmpsock.h:102
WORD identifier
Arbitrary identifier for the ping.
Definition: icmpsock.h:86
Definition: icmpsock.h:65