NET_SOCK_DESC_CLR
Remove a socket file descriptor ID as a member of a file descriptor set. See also function NetSock_Sel().
Files
net_sock.h
Prototype
NET_SOCK_DESC_CLR(desc_nbr, p_desc_set);
Arguments
desc_nbr
This is the socket file descriptor ID returned by NetSock_Open()/socket()
when the socket was created or by NetSock_Accept()/accept()
when a connection was accepted.
p_desc_set
Pointer to a socket file descriptor set.
Returned Value
None.
Required Configuration
Available only if NET_SOCK_CFG_SEL_EN
is enabled (see section Socket Layer Configuration).
Notes / Warnings
NetSock_Sel()/select()
checks or waits for available operations or error conditions on any of the socket file descriptor members of a socket file descriptor set.
No errors are returned even if the socket file descriptor ID or the file descriptor set is invalid, or the socket file descriptor ID is not set in the file descriptor set.