| Home | Libraries | People | FAQ | More

#### basic_socket_acceptor::async_accept

Start an asynchronous accept.

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

    template<
        typename SocketService,
        typename AcceptHandler>
    void-or-deduced async_accept(
        basic_socket< protocol_type, SocketService > & peer,
        endpoint_type & peer_endpoint,
        AcceptHandler handler);
      » more...