asio::ip::icmp Class Reference
Encapsulates the flags needed for ICMP.
More...
#include <icmp.hpp>
List of all members.
Detailed Description
Encapsulates the flags needed for ICMP.
The asio::ip::icmp class contains flags necessary for ICMP sockets.
- Thread Safety
- Distinct objects: Safe.
Shared objects: Safe.
- Concepts:
- Protocol, InternetProtocol.
Definition at line 41 of file icmp.hpp.
Member Typedef Documentation
The type of a ICMP endpoint.
Definition at line 45 of file icmp.hpp.
The ICMP resolver type.
Definition at line 87 of file icmp.hpp.
The type of a resolver iterator.
Definition at line 51 of file icmp.hpp.
The type of a resolver query.
Definition at line 48 of file icmp.hpp.
The ICMP socket type.
Definition at line 84 of file icmp.hpp.
Constructor & Destructor Documentation
asio::ip::icmp::icmp |
( |
int |
protocol, |
|
|
int |
family | |
|
) |
| | [inline, explicit, private] |
Member Function Documentation
int asio::ip::icmp::family |
( |
|
) |
const [inline] |
Obtain an identifier for the protocol family.
Definition at line 78 of file icmp.hpp.
int asio::ip::icmp::protocol |
( |
|
) |
const [inline] |
Obtain an identifier for the protocol.
Definition at line 72 of file icmp.hpp.
int asio::ip::icmp::type |
( |
|
) |
const [inline] |
Obtain an identifier for the type of the protocol.
Definition at line 66 of file icmp.hpp.
static icmp asio::ip::icmp::v4 |
( |
|
) |
[inline, static] |
Construct to represent the IPv4 ICMP protocol.
Definition at line 54 of file icmp.hpp.
static icmp asio::ip::icmp::v6 |
( |
|
) |
[inline, static] |
Construct to represent the IPv6 ICMP protocol.
Definition at line 60 of file icmp.hpp.
Friends And Related Function Documentation
bool operator!= |
( |
const icmp & |
p1, |
|
|
const icmp & |
p2 | |
|
) |
| | [friend] |
Compare two protocols for inequality.
Definition at line 96 of file icmp.hpp.
bool operator== |
( |
const icmp & |
p1, |
|
|
const icmp & |
p2 | |
|
) |
| | [friend] |
Compare two protocols for equality.
Definition at line 90 of file icmp.hpp.
Member Data Documentation
The documentation for this class was generated from the following file: