Close a UDP socket.
void SDLNet_UDP_Close(UDPsocket sock);
sock | UDP socket to close. |
This disconnects the socket and frees any resources it retains.
This socket may not be used again once given to this function.
This function is available since SDL_net 2.0.0.