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

PrevUpHomeNext

basic_socket_acceptor::accept

Accept a new connection.

template<
    typename Protocol1,
    typename Executor1>
void accept(
    basic_socket< Protocol1, Executor1 > & peer,
    constraint_t< is_convertible< Protocol, Protocol1 >::value >  = 0);
  » more...

template<
    typename Protocol1,
    typename Executor1>
void accept(
    basic_socket< Protocol1, Executor1 > & peer,
    boost::system::error_code & ec,
    constraint_t< is_convertible< Protocol, Protocol1 >::value >  = 0);
  » more...

Accept a new connection and obtain the endpoint of the peer.

template<
    typename Executor1>
void accept(
    basic_socket< protocol_type, Executor1 > & peer,
    endpoint_type & peer_endpoint);
  » more...

template<
    typename Executor1>
void accept(
    basic_socket< protocol_type, Executor1 > & peer,
    endpoint_type & peer_endpoint,
    boost::system::error_code & ec);
  » more...

Protocol::socket::template rebind_executor< executor_type >::other accept();
  » more...

Protocol::socket::template rebind_executor< executor_type >::other accept(
    boost::system::error_code & ec);
  » more...

template<
    typename Executor1>
Protocol::socket::template rebind_executor< Executor1 >::other accept(
    const Executor1 & ex,
    constraint_t< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >  = 0);
  » more...

template<
    typename ExecutionContext>
Protocol::socket::template rebind_executor< typenameExecutionContext::executor_type >::other accept(
    ExecutionContext & context,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

template<
    typename Executor1>
Protocol::socket::template rebind_executor< Executor1 >::other accept(
    const Executor1 & ex,
    boost::system::error_code & ec,
    constraint_t< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >  = 0);
  » more...

template<
    typename ExecutionContext>
Protocol::socket::template rebind_executor< typenameExecutionContext::executor_type >::other accept(
    ExecutionContext & context,
    boost::system::error_code & ec,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

Protocol::socket::template rebind_executor< executor_type >::other accept(
    endpoint_type & peer_endpoint);
  » more...

Protocol::socket::template rebind_executor< executor_type >::other accept(
    endpoint_type & peer_endpoint,
    boost::system::error_code & ec);
  » more...

template<
    typename Executor1>
Protocol::socket::template rebind_executor< Executor1 >::other accept(
    const Executor1 & ex,
    endpoint_type & peer_endpoint,
    constraint_t< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >  = 0);
  » more...

template<
    typename ExecutionContext>
Protocol::socket::template rebind_executor< typenameExecutionContext::executor_type >::other accept(
    ExecutionContext & context,
    endpoint_type & peer_endpoint,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

template<
    typename Executor1>
Protocol::socket::template rebind_executor< Executor1 >::other accept(
    const executor_type & ex,
    endpoint_type & peer_endpoint,
    boost::system::error_code & ec,
    constraint_t< is_executor< Executor1 >::value||execution::is_executor< Executor1 >::value >  = 0);
  » more...

template<
    typename ExecutionContext>
Protocol::socket::template rebind_executor< typenameExecutionContext::executor_type >::other accept(
    ExecutionContext & context,
    endpoint_type & peer_endpoint,
    boost::system::error_code & ec,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

PrevUpHomeNext