Removes fd from set, shifting the later sockets down. A socket that is not in the set is ignored.
FD_CLR :: (fd: Socket, set: *fd_set)
Removes fd from set, shifting the later sockets down. A socket that is not in the set is ignored.
Parameters
- fd: Socket
- set: *fd_set
FD_CLR :: (fd: s32, set: *fd_set)
Removes descriptor fd from set. Clearing a descriptor that is not in the set, or one at or beyond the set's capacity,
does nothing. A negative descriptor or a null set fails an assertion.
Parameters
- fd: s32
- set: *fd_set
set: fd_set;
FD_SET(7, *set);
FD_CLR(7, *set);
FD_CLR(7, *set);
assert(FD_ISSET(7, *set) == 0);Doesn't run in the browser (skipped on wasm).