asio C++ library

PrevUpHomeNext

basic_socket_acceptor::async_accept

Start an asynchronous accept.

template<
    typename Protocol1,
    typename AcceptHandler>
DEDUCED async_accept(
    basic_socket< Protocol1 > & peer,
    AcceptHandler && handler,
    typename enable_if< is_convertible< Protocol, Protocol1 >::value >::type *  = 0);
  » more...

template<
    typename AcceptHandler>
DEDUCED async_accept(
    basic_socket< protocol_type > & peer,
    endpoint_type & peer_endpoint,
    AcceptHandler && handler);
  » more...

template<
    typename MoveAcceptHandler>
DEDUCED async_accept(
    MoveAcceptHandler && handler);
  » more...

template<
    typename MoveAcceptHandler>
DEDUCED async_accept(
    asio::io_context & io_context,
    MoveAcceptHandler && handler);
  » more...

template<
    typename MoveAcceptHandler>
DEDUCED async_accept(
    endpoint_type & peer_endpoint,
    MoveAcceptHandler && handler);
  » more...

template<
    typename MoveAcceptHandler>
DEDUCED async_accept(
    asio::io_context & io_context,
    endpoint_type & peer_endpoint,
    MoveAcceptHandler && handler);
  » more...

PrevUpHomeNext