|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
int SDLNet_DelSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock)
int SDLNet_TCP_DelSocket(SDLNet_SocketSet set, TCPsocket sock)
int SDLNet_UDP_DelSocket(SDLNet_SocketSet set, UDPsocket sock)
Remove a socket from a socket set. Use this before closing a socket that you are watching with a socket set. This doesn't close the socket.
Returns: the number of sockets used in the set on success. -1 is returned on errors.
3.6.3 SDLNet_AddSocket, 3.6.2 SDLNet_FreeSocketSet, 4.5 SDLNet_SocketSet, 4.3 UDPsocket, 4.2 TCPsocket