Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

basic_socket_iostream

Iostream interface for a socket.

template<
    typename Protocol,
    typename StreamSocketService = stream_socket_service<Protocol>>
class basic_socket_iostream
Member Functions

Name

Description

basic_socket_iostream

Construct a basic_socket_iostream without establishing a connection.

Establish a connection to an endpoint corresponding to a resolver query.

close

Close the connection.

connect

Establish a connection to an endpoint corresponding to a resolver query.

rdbuf

Return a pointer to the underlying streambuf.

Requirements

Header: boost/asio/basic_socket_iostream.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext