Remove a UDP socket from a socket set.
Defined in SDL_net.h
set | the socket set to remove a socket from. |
sock | the socket to remove from the set. |
Returns the total number of sockets contained in the set (after sock
's removal), or -1 if sock
was not in the set.
This is a small UDP-specific wrapper over SDLNet_DelSocket; please refer to that function's documentation.
This function is available since SDL_net 2.0.0.