![]() |
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);
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.
The number of datagrams sent.
Thrown on failure.