SDL Wiki
(This function is part of SDL_net, a separate library from SDL.)

SDLNet_UDP_Unbind

Unbind all addresses from the given channel.

Syntax

void SDLNet_UDP_Unbind(UDPsocket sock, int channel);

Function Parameters

sock

the UDP socket to unbind addresses from a channel on.

channel

the channel of the socket to unbind.

Remarks

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.

Version

This function is available since SDL_net 2.0.0.

SDLNet_UDP_Bind

CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.