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_socket_acceptor::basic_socket_acceptor

Construct an acceptor without opening it.

explicit basic_socket_acceptor(
    const executor_type & ex);
  » more...

template<
    typename ExecutionContext>
explicit basic_socket_acceptor(
    ExecutionContext & context,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Construct an open acceptor.

basic_socket_acceptor(
    const executor_type & ex,
    const protocol_type & protocol);
  » more...

template<
    typename ExecutionContext>
basic_socket_acceptor(
    ExecutionContext & context,
    const protocol_type & protocol,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >::type  = defaulted_constraint());
  » more...

Construct an acceptor opened on the given endpoint.

basic_socket_acceptor(
    const executor_type & ex,
    const endpoint_type & endpoint,
    bool reuse_addr = true);
  » more...

template<
    typename ExecutionContext>
basic_socket_acceptor(
    ExecutionContext & context,
    const endpoint_type & endpoint,
    bool reuse_addr = true,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Construct a basic_socket_acceptor on an existing native acceptor.

basic_socket_acceptor(
    const executor_type & ex,
    const protocol_type & protocol,
    const native_handle_type & native_acceptor);
  » more...

template<
    typename ExecutionContext>
basic_socket_acceptor(
    ExecutionContext & context,
    const protocol_type & protocol,
    const native_handle_type & native_acceptor,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

Move-construct a basic_socket_acceptor from another.

basic_socket_acceptor(
    basic_socket_acceptor && other);
  » more...

Move-construct a basic_socket_acceptor from an acceptor of another protocol type.

template<
    typename Protocol1,
    typename Executor1>
basic_socket_acceptor(
    basic_socket_acceptor< Protocol1, Executor1 > && other,
    typename constraint< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >::type  = 0);
  » more...

PrevUpHomeNext