Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

basic_stream_socket::basic_stream_socket

Construct a basic_stream_socket without opening it.

basic_stream_socket(
    boost::asio::io_service & io_service);

Construct and open a basic_stream_socket.

basic_stream_socket(
    boost::asio::io_service & io_service,
    const protocol_type & protocol);

Construct a basic_stream_socket, opening it and binding it to the given local endpoint.

basic_stream_socket(
    boost::asio::io_service & io_service,
    const endpoint_type & endpoint);

Construct a basic_stream_socket on an existing native socket.

basic_stream_socket(
    boost::asio::io_service & io_service,
    const protocol_type & protocol,
    const native_type & native_socket);

PrevUpHomeNext