pub unsafe extern "C" fn aws_socket_start_accept(
    socket: *mut aws_socket,
    accept_loop: *mut aws_event_loop,
    on_accept_result: aws_socket_on_accept_result_fn,
    user_data: *mut c_void
) -> c_int
Expand description

TCP, LOCAL and VSOCK only. The socket will begin accepting new connections. This is an asynchronous operation. New connections or errors will arrive via the on_accept_result callback.

aws_socket_bind() and aws_socket_listen() must be called before calling this function.