| Home | Libraries | People | FAQ | More

#### basic_datagram_socket::async_receive

Start an asynchronous receive on a connected socket.

    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);