Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

NET_SOCK_DESC_COPY() (TCP/UDP)

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

Files

net_sock.h

Prototype

NET_SOCK_DESC_COPY(pdesc_set_dest, pdesc_set_src);

Arguments

pdesc_set_dest

Pointer to the destination socket file descriptor set.

pdesc_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 on page 755) and/or NET_UDP_CFG_APP_API_SEL is configured for sockets (see section D-13-1 on page 756) and if NET_SOCK_CFG_SEL_EN is enabled (see section D-15-4 on page 761).

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.

  • No labels