#include <icmpsock.h>
Inheritance diagram for PICMPSocket:
Public Types | |
Status & Information | |
enum | PingStatus { PingSuccess, NetworkUnreachable, HostUnreachable, PacketTooBig, RequestTimedOut, BadRoute, TtlExpiredTransmit, TtlExpiredReassembly, SourceQuench, MtuChange, GeneralError, NumStatuses } |
Results of ICMP operation. More... | |
Public Member Functions | |
Construction | |
PICMPSocket () | |
Ping | |
BOOL | Ping (const PString &host) |
BOOL | Ping (const PString &host, PingInfo &info) |
Protected Member Functions | |
const char * | GetProtocolName () const |
virtual BOOL | OpenSocket () |
virtual BOOL | OpenSocket (int ipAdressFamily) |
BOOL | WritePing (const PString &host, PingInfo &info) |
BOOL | ReadPing (PingInfo &info) |
|
Results of ICMP operation.
|
|
Create a TCP/IP protocol socket channel. If a remote machine address or a "listening" socket is specified then the channel is also opened. |
|
This function returns the protocol name for the socket type. Implements PSocket. |
|
Implements PIPSocket. |
|
Implements PSocket. |
|
Send an ECHO_REPLY message to the specified host and wait for a reply to be sent back.
|
|
Send an ECHO_REPLY message to the specified host and wait for a reply to be sent back.
|
|
|
|
|