[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 3.4.4 SDLNet_UDP_Unbind

`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);

See Also:
3.4.3 SDLNet_UDP_Bind, 3.4.2 SDLNet_UDP_Close, 4.3 UDPsocket

This document was generated on November, 3 2009 using texi2html