| Home | Libraries | People | FAQ | More

#### basic_stream_socket::async_receive

Start an asynchronous receive.

    template<
        typename MutableBufferSequence,
        typename ReadHandler>
    void async_receive(
        const MutableBufferSequence & buffers,
        ReadHandler handler);

    template<
        typename MutableBufferSequence,
        typename ReadHandler>
    void async_receive(
        const MutableBufferSequence & buffers,
        socket_base::message_flags flags,
        ReadHandler handler);