![]() |
Home | Libraries | People | FAQ | More |
Send multiple datagrams on a connected socket.
template< typename ConstBufferSequences> std::size_t send_multiple( ConstBufferSequences && buffer_sequences);
This function is used to send multiple datagrams on the datagram socket. The function call will block until one or more datagrams have been sent successfully or an error occurs. The number of datagrams sent may be less than the length of the range.
A forward range of buffer sequences, one per datagram to send.
The number of datagrams sent.
Thrown on failure.
The send_multiple operation can only be used with a connected socket. Use the send_to_multiple function to send data on an unconnected datagram socket.