![]() |
Home | Libraries | People | FAQ | More |
Send multiple datagrams to the specified endpoints.
template< typename ConstBufferSequences, typename EndpointSequence> std::size_t send_to_multiple( ConstBufferSequences && buffer_sequences, EndpointSequence && endpoints, socket_base::message_flags flags, boost::system::error_code & ec);
This function is used to send multiple datagrams to the specified remote endpoints. The function call will block until one or more datagrams have been sent successfully or an error occurs. The number of datagrams transferred may be less than the length of the shortest range.
A forward range of buffer sequences, one per datagram to send.
A forward range of destination endpoints, one per datagram.
Flags specifying how the send call is to be made.
Set to indicate what error occurred, if any.
The number of datagrams sent.