Unbind all addresses from the given channel.
Defined in <SDL_net.h>
void SDLNet_UDP_Unbind(UDPsocket sock, int channel);
UDPsocket | sock | the UDP socket to unbind addresses from a channel on. |
int | channel | the channel of the socket to unbind. |
Note that UDP sockets at the platform layer "bind" to a nework port number, but SDL_net's UDP sockets also "bind" to a "channel" on top of that, with SDLNet_UDP_Bind(). But the term is used for both.
This function is available since SDL_net 2.0.0.