, , , send-style send(), , , .
So, you have several pieces of data that you want to send several datagrams to. Why don't you send them with separate calls to send?
In fact, you can call connect () on the datagram socket to specify the default target so that you can send () or write () without specifying the destination address each time.
source
share