NET_SOCK_DESC_COPY

Copy a file descriptor set to another file descriptor set. See also function NetSock_Sel().

Files

net_sock.h

Prototype

          NET_SOCK_DESC_COPY(p_desc_set_dest, p_desc_set_src);

Arguments

p_desc_set_dest

Pointer to the destination socket file descriptor set.

p_desc_set_src

Pointer to the source socket file descriptor set to copy.

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