SDLNet_FreeSocketSet

Name

SDLNet_FreeSocketSet -- free a socket set from memory.

Synopsis

#include "SDL_net.h"

void SDLNet_FreeSocketSet(SDLNet_SocketSet set);

Description

SDLNet_FreeSocketSet frees the given socket set from memory.

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

Return Value

Returns nothing, this call always succeeds.

Example

// free a socket set
//SDLNet_SocketSet set;

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

See Also

SDLNet_AllocSocketSet, SDLNet_AddSocket, SDLNet_SocketSet, UDPsocket, TCPsocket

SDLNet_FreeSocketSet (last edited 2008-04-17 08:18:42 by localhost)