Clementine
|
Encapsulates the flags needed for UDP. More...
#include <udp.hpp>
Public Types | |
typedef basic_endpoint< udp > | endpoint |
The type of a UDP endpoint. | |
typedef basic_datagram_socket< udp > | socket |
The UDP socket type. | |
typedef basic_resolver< udp > | resolver |
The UDP resolver type. | |
Public Member Functions | |
int | type () const ASIO_NOEXCEPT |
Obtain an identifier for the type of the protocol. | |
int | protocol () const ASIO_NOEXCEPT |
Obtain an identifier for the protocol. | |
int | family () const ASIO_NOEXCEPT |
Obtain an identifier for the protocol family. | |
Static Public Member Functions | |
static udp | v4 () ASIO_NOEXCEPT |
Construct to represent the IPv4 UDP protocol. | |
static udp | v6 () ASIO_NOEXCEPT |
Construct to represent the IPv6 UDP protocol. | |
Friends | |
bool | operator== (const udp &p1, const udp &p2) |
Compare two protocols for equality. | |
bool | operator!= (const udp &p1, const udp &p2) |
Compare two protocols for inequality. | |
Encapsulates the flags needed for UDP.
The asio::ip::udp class contains flags necessary for UDP sockets.