NET_SOCK_DESC_INIT

Initialize/zero-clear a file descriptor set. See also function NetSock_Sel().

Files

net_sock.h

Prototype

NET_SOCK_DESC_INIT(p_desc_set);

Arguments

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 file descriptor set is invalid.