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