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().

Syntax

void SDLNet_FreeSocketSet(SDLNet_SocketSet set);

Function Parameters

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


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