asio C++ library

PrevUpHomeNext

basic_socket_acceptor::basic_socket_acceptor

Construct an acceptor without opening it.

explicit basic_socket_acceptor(
    asio::io_context & io_context);
  » more...

Construct an open acceptor.

basic_socket_acceptor(
    asio::io_context & io_context,
    const protocol_type & protocol);
  » more...

Construct an acceptor opened on the given endpoint.

basic_socket_acceptor(
    asio::io_context & io_context,
    const endpoint_type & endpoint,
    bool reuse_addr = true);
  » more...

Construct a basic_socket_acceptor on an existing native acceptor.

basic_socket_acceptor(
    asio::io_context & io_context,
    const protocol_type & protocol,
    const native_handle_type & native_acceptor);
  » 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>
basic_socket_acceptor(
    basic_socket_acceptor< Protocol1 > && other,
    typename enable_if< is_convertible< Protocol1, Protocol >::value >::type *  = 0);
  » more...

PrevUpHomeNext