SDLNet_UDP_Unbind -- Remove all previously assigned (bound) addresses from a socket channel.
void SDLNet_UDP_Unbind(UDPsocket sock, int channel)
sock A valid UDPsocket to unbind addresses from.
channel The channel to unbind the addresses from in the UDPsocket.
This removes all previously assigned (bound) addresses from a socket channel.
After this you may bind new addresses to the socket channel.
Returns: nothing, this always succeeds.
// unbind all addresses on the UDPsocket channel 0 //UDPsocket udpsock; SDLNet_UDP_Unbind(udpsock, 0);