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