Reference | Class Hierarchy | Class Index | Member Index |
Public Member Functions | |
basic_socket_iostream () | |
Construct a basic_socket_iostream without establishing a connection. | |
template<typename T1, ... , typename TN> | |
basic_socket_iostream (T1 t1,..., TN tn) | |
Establish a connection to an endpoint corresponding to a resolver query. | |
template<typename T1, ... , typename TN> | |
void | connect (T1 t1,..., TN tn) |
Establish a connection to an endpoint corresponding to a resolver query. | |
void | close () |
Close the connection. | |
basic_socketbuf< Protocol, Service > * | rdbuf () const |
Return a pointer to the underlying streambuf. |
asio::basic_socket_iostream< Protocol, Service >::basic_socket_iostream | ( | ) |
Construct a basic_socket_iostream without establishing a connection.
asio::basic_socket_iostream< Protocol, Service >::basic_socket_iostream | ( | T1 | t1, | |
..., | ||||
TN | tn | |||
) | [explicit] |
Establish a connection to an endpoint corresponding to a resolver query.
This constructor automatically establishes a connection based on the supplied resolver query parameters. The arguments are used to construct a resolver query object.
void asio::basic_socket_iostream< Protocol, Service >::connect | ( | T1 | t1, | |
..., | ||||
TN | tn | |||
) |
Establish a connection to an endpoint corresponding to a resolver query.
This function automatically establishes a connection based on the supplied resolver query parameters. The arguments are used to construct a resolver query object.
void asio::basic_socket_iostream< Protocol, Service >::close | ( | ) |
Close the connection.
basic_socketbuf<Protocol, Service>* asio::basic_socket_iostream< Protocol, Service >::rdbuf | ( | ) | const |
Return a pointer to the underlying streambuf.