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::async_accept

Start an asynchronous accept.

template<
    typename Protocol1,
    typename Executor1,
    typename AcceptToken = DEFAULT>
DEDUCED async_accept(
    basic_socket< Protocol1, Executor1 > & peer,
    AcceptToken && token = DEFAULT,
    typename constraint< is_convertible< Protocol, Protocol1 >::value >::type  = 0);
  » more...

template<
    typename Executor1,
    typename AcceptToken = DEFAULT>
DEDUCED async_accept(
    basic_socket< protocol_type, Executor1 > & peer,
    endpoint_type & peer_endpoint,
    AcceptToken && token = DEFAULT);
  » more...

template<
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    MoveAcceptToken && token = DEFAULT);
  » more...

template<
    typename Executor1,
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    const Executor1 & ex,
    MoveAcceptToken && token = DEFAULT,
    typename constraint< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >::type  = 0);
  » more...

template<
    typename ExecutionContext,
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    ExecutionContext & context,
    MoveAcceptToken && token = DEFAULT,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

template<
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    endpoint_type & peer_endpoint,
    MoveAcceptToken && token = DEFAULT);
  » more...

template<
    typename Executor1,
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    const Executor1 & ex,
    endpoint_type & peer_endpoint,
    MoveAcceptToken && token = DEFAULT,
    typename constraint< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >::type  = 0);
  » more...

template<
    typename ExecutionContext,
    typename MoveAcceptToken = DEFAULT>
DEDUCED async_accept(
    ExecutionContext & context,
    endpoint_type & peer_endpoint,
    MoveAcceptToken && token = DEFAULT,
    typename constraint< is_convertible< ExecutionContext &, execution_context & >::value >::type  = 0);
  » more...

PrevUpHomeNext