Allocate a UDP packet vector (array of packets).
int howmany, int size);UDPpacket ** SDLNet_AllocPacketV(
|howmany||the number of packets to allocate.|
|size||the maximum bytes of payload each packet should contain.|
Returns a pointer to the first packet in the array, or NULL if the function ran out of memory.
howmany packets at once, each
size bytes long.
You must free the results of this function with SDLNet_FreePacketV, and must not free individual packets from this function with SDLNet_FreePacket.
This function is available since SDL_net 2.0.0.