Network: Fixed handling of reception buffer
Fixed a problem where too much data was being read into the receptionbuffer, causing heap corruption.
Also, the code was still using SDL_net's UDPpacket, which is no longernecessary. Now it uses a plain memory buffer allocated with M_Malloc.
View differences
Network: Fixed handling of reception buffer
Fixed a problem where too much data was being read into the reception
buffer, causing heap corruption.
Also, the code was still using SDL_net's UDPpacket, which is no longer
necessary. Now it uses a plain memory buffer allocated with M_Malloc.