NetSock_SelAbort

Abort (unblock) all tasks that are pending on a particular socket using the select.

Files

net_sock.h/net_sock.c

Prototypes

void  NetSock_SelAbort (NET_SOCK_ID   sock_id,
                        NET_ERR      *p_err);

Arguments

sock_id

Socket descriptor/handle identifier of socket to abort the select.

p_err

Pointer to variable that will receive the error code from this function:

NET_SOCK_ERR_INVALID_ARG
NET_SOCK_ERR_NONE_AVAIL

Returned Value

None.

Required Configuration

Available only if NET_SOCK_CFG_SEL_EN is enabled (see section Socket Layer Configuration).

Notes / Warnings

None.