[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int SDLNet_UDP_SendV(UDPsocket sock, UDPpacket **packetV, int npackets)
Send npackets of packetV using the specified sock socket.
Each packet is sent in the same way as in SDLNet_UDP_Send (see section 3.4.6 SDLNet_UDP_Send).
Don't forget to set the length of the packets in the len element of the packets you are sending!
Returns: The number of destinations sent to that worked, for each packet in the vector, all summed up. 0 is returned on errors.
|
See Also:
3.4.3 SDLNet_UDP_Bind,
3.4.6 SDLNet_UDP_Send,
3.4.7 SDLNet_UDP_Recv,
3.4.9 SDLNet_UDP_RecvV,
4.4 UDPpacket,
4.3 UDPsocket