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

SDLNet_FreeSocketSet

Free a set of sockets allocated by SDLNet_AllocSocketSet().

Header File

Defined in <SDL_net.h>

Syntax

void SDLNet_FreeSocketSet(SDLNet_SocketSet set);

Function Parameters

SDLNet_SocketSet set the socket set to free.

Remarks

When done with a socket set, call this function to free its resources.

This only frees the socket set, not the individual sockets in the set, which would still (at some future point) need to be closed with SDLNet_TCP_Close or SDLNet_UDP_Close.

Version

This function is available since SDL_net 2.0.0.


CategoryAPI, CategoryAPIFunction


[ 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.