#include <ICMP_Socket.h>
Inheritance diagram for ACE_ICMP_Socket:
Public Member Functions | |
~ACE_ICMP_Socket (void) | |
int | open (ACE_Addr const &local=ACE_Addr::sap_any, int protocol=IPPROTO_ICMP, int reuse_addr=0) |
Wrapper around the BSD-style socket system call (no QoS). | |
void | dump (void) const |
Dump the state of object. | |
Data transfer routines. | |
Data transfer routines. | |
ssize_t | send (void const *buf, size_t n, ACE_Addr const &addr, int flags=0) const |
ssize_t | recv (void *buf, size_t n, ACE_Addr &addr, int flags=0) const |
ssize_t | recv (void *buf, size_t n, int flags, ACE_Time_Value const *timeout) const |
TODO: comment. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Member Functions | |
ACE_ICMP_Socket (void) | |
Default constructor. | |
ACE_ICMP_Socket (ACE_Addr const &local, int protocol=IPPROTO_ICMP, int reuse_addr=0) | |
Constructor that takes a local listening address. | |
int | shared_open (ACE_Addr const &local) |
Wrapper around BSD-style bind system call. | |
unsigned short | calculate_checksum (unsigned short *paddress, int len) |
Calculates check-sum. |
|
|
|
Default constructor.
|
|
Constructor that takes a local listening address.
|
|
Calculates check-sum.
|
|
Dump the state of object.
Reimplemented from ACE_SOCK. Reimplemented in ACE_Ping_Socket. |
|
Wrapper around the BSD-style
Reimplemented in ACE_Ping_Socket. |
|
TODO: comment.
|
|
Receive an n byte buf from the datagram socket (uses |
|
Send an n byte buf to the datagram socket (uses |
|
Wrapper around BSD-style
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_SOCK. Reimplemented in ACE_Ping_Socket. |