BaseType_t FreeRTOS_FD_CLR( xSocket_t xSocket, xSocketSet_t xSocketSet );
Removes a socket from a socket set.
Socket Sets allow an application task to block when reading from multiple sockets at the same time. Instead of blocking on an individual socket, a task instead blocks on the set.
To use a socket set:
FreeRTOS_FD_CLR() removes a socket from a set.
Parameters:
| xSocket |
The socket being removed from the socket set.
|
| xSocketSet |
The socket set the socket is a member of.
|
If the socket was removed from the set then pdPASS is returned. If the socket was not removed from the set because it was not a member of the set then pdFAIL is returned.