Close a UDP socket.
Defined in <SDL_net.h>
void SDLNet_UDP_Close(UDPsocket sock);
UDPsocket | 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.