asio C++ library

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,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 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,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >  = 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,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 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,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 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,
    constraint_t< is_convertible< Protocol1, Protocol >::value &&is_convertible< Executor1, Executor >::value >  = 0);
  » more...

PrevUpHomeNext