SDL_net
SDL_net copied to clipboard
SDLNet_SendDatagram fails if the socket is created with NULL address
SDLNet_SendDatagram
fails with the error Failed to send from socket: The system detected an invalid pointer address in attempting to use a pointer argument in a call.
on windows if the socket is created by passing NULL as the first parameter of SDLNet_CreateDatagramSocket
. I can reproduce it with voip-chat example.