#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 | |
Ping | |
| PBoolean | Ping (const PString &host) |
| PBoolean | Ping (const PString &host, PingInfo &info) |
Protected Member Functions | |
| const char * | GetProtocolName () const |
| virtual PBoolean | OpenSocket () |
| virtual PBoolean | OpenSocket (int ipAdressFamily) |
| PBoolean | WritePing (const PString &host, PingInfo &info) |
| PBoolean | ReadPing (PingInfo &info) |
Classes | |
| class | PingInfo |
| Information used by and obtained by the ping operation. More... | |
| PICMPSocket::PICMPSocket | ( | ) |
Create a TCP/IP protocol socket channel. If a remote machine address or a "listening" socket is specified then the channel is also opened.
| PICMPSocket::PICMPSocket | ( | ) |
Create a TCP/IP protocol socket channel. If a remote machine address or a "listening" socket is specified then the channel is also opened.
Send an ECHO_REPLY message to the specified host and wait for a reply to be sent back.
| host | Host to send ping. |
Send an ECHO_REPLY message to the specified host and wait for a reply to be sent back.
| host | Host to send ping. |
| info | Information on the ping and reply. |
| const char* PICMPSocket::GetProtocolName | ( | ) | const [protected, virtual] |
This function returns the protocol name for the socket type.
Implements PSocket.
| virtual PBoolean PICMPSocket::OpenSocket | ( | int | ipAdressFamily | ) | [protected, virtual] |
Implements PIPSocket.
1.5.1