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

### 3.6.2 SDLNet_FreeSocketSet

`void SDLNet_FreeSocketSet(SDLNet_SocketSet set)`

set
  The socket set to free from memory

Free the socket set from memory.
Do not reference the set after this call, except to allocate a new one.

Returns: nothing, this call always succeeds.

    // free a socket set
    //SDLNet_SocketSet set;

    SDLNet_FreeSocketSet(set);
    set=NULL; //this helps us remember that this set is not allocated

See Also:
3.6.1 SDLNet_AllocSocketSet, 3.6.3 SDLNet_AddSocket, 4.5 SDLNet_SocketSet, 4.3 UDPsocket, 4.2 TCPsocket

This document was generated on November, 3 2009 using texi2html