Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Remove a socket file descriptor ID as a member of a file descriptor set. See also function NetSock_Sel().

Files

net_sock.h

Prototype


 
Code Block

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.

...

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.

...