Versions Compared

Key

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

Copy a file descriptor set to another file descriptor set. See also section C-13-47 “NetSockfunction NetSock_Sel() / select() (TCP/UDP).

Files

net_sock.h

Prototype

Arguments

...

Code Block

          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.

pdescp_desc_set_src

Pointer to the source socket file descriptor set to copy.

Returned Value

None.

Required Configuration

Available only if either NET_CFG_TRANSPORT_LAYER_SEL is configured for TCP (see section D-12-1) and/or NET_UDP_CFG_APP_API_SEL is configured for sockets (see section D-13-1) and if if NET_SOCK_CFG_SEL_EN is  is enabled (see section D-15-4section 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.

...