[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int SDLNet_UDP_RecvV(UDPsocket sock, UDPpacket **packetV)
Receive into a packet vector on the specified socket sock.
packetV is a NULL terminated array. Packets will be received until the NULL is reached, or there are none ready to be received.
This call is otherwise the same as SDLNet_UDP_Recv (see section 3.4.7 SDLNet_UDP_Recv).
Returns: the number of packets received. 0 is returned when no packets are received. -1 is returned on errors.
|
See Also:
3.4.3 SDLNet_UDP_Bind,
3.4.6 SDLNet_UDP_Send,
3.4.8 SDLNet_UDP_SendV,
3.4.7 SDLNet_UDP_Recv,
4.4 UDPpacket,
4.3 UDPsocket