![]() |
Home | Libraries | People | FAQ | More |
Send multiple datagrams on a connected socket.
template< typename ConstBufferSequences> std::size_t send_multiple( ConstBufferSequences && buffer_sequences, socket_base::message_flags flags, boost::system::error_code & ec);
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.
Flags specifying how the send call is to be made.
Set to indicate what error occurred, if any.
The number of datagrams sent.
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.