#include <ip.hpp>
Public Types | |
| typedef peer_base< udp > | peer |
| typedef socket_stream< udp > | socket |
| typedef socket_acceptor< udp > | acceptor |
| typedef address_resolver< udp > | resolver |
Public Member Functions | |
| int | type () const |
| int | protocol () const |
| int | family () const |
Static Public Member Functions | |
| static udp | v4 () |
| static udp | v6 () |
The udp class represents all settings to handle udp socket connections
| typedef socket_acceptor<udp> matador::udp::acceptor |
Shortcut to a udp based acceptor
| typedef peer_base<udp> matador::udp::peer |
Shortcut to a udp based peer
| typedef address_resolver<udp> matador::udp::resolver |
Shortcut to a udp based address resolver
| typedef socket_stream<udp> matador::udp::socket |
Shortcut to a udp based socket
|
inline |
Returns the socket family
|
inline |
Returns the socket protocol
|
inline |
Returns the type of the socket
|
inlinestatic |
Creates an instance of udp representing an IPv4 socket
|
inlinestatic |
Creates an instance of udp representing an IPv6 socket