...
net_sock.h/net_sock.c
net_bsd.h/net_bsd.c
Prototypes
Code Block |
---|
NET_SOCK_RTN_CODE NetSock_Sel(NET_SOCK_QTY sock_nbr_max,
NET_SOCK_DESC *p_sock_desc_rd,
NET_SOCK_DESC *p_sock_desc_wr,
NET_SOCK_DESC *p_sock_desc_err,
NET_SOCK_TIMEOUT *p_timeout,
NET_ERR *p_err);
int select ( int desc_nbr_max,
struct fd_set *p_desc_rd,
struct fd_set *p_desc_wr,
struct fd_set *p_desc_err,
struct timeval *p_timeout); |
Arguments
sock_nbr_max
Specifies the maximum number of socket file descriptors in the file descriptor sets.
...
Available only if NET_SOCK_CFG_SEL_EN
is enabled (see section Socket Layer Configuration).
Notes / Warnings
Supports socket file descriptors only (i.e., socket ID numbers).
...