SDLNet_UDP_Unbind
Name
SDLNet_UDP_Unbind -- Remove all previously assigned (bound) addresses from a socket channel.
Synopsis
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.
Description
This removes all previously assigned (bound) addresses from a socket channel.
After this you may bind new addresses to the socket channel.
Return Value
Returns: nothing, this always succeeds.
Example
// unbind all addresses on the UDPsocket channel 0 //UDPsocket udpsock; SDLNet_UDP_Unbind(udpsock, 0);
