asio C++ library

PrevUpHomeNext

datagram_socket_service::send_to

Send a datagram to the specified endpoint.

template<
    typename ConstBufferSequence>
std::size_t send_to(
    implementation_type & impl,
    const ConstBufferSequence & buffers,
    const endpoint_type & destination,
    socket_base::message_flags flags,
    asio::error_code & ec);

PrevUpHomeNext