nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ NRF_SO_ERROR

#define NRF_SO_ERROR   4

#include <nrf_modem/include/nrf_socket.h>

Request and clear pending error information on the socket (read-only).

When this option is specified, nrf_getsockopt returns any pending errors on the socket and clears the error status. It returns a 0 value if there is no pending error.

This option can be used to check for asynchronous errors on connected connectionless-mode sockets or for other types of asynchronous errors.

This option has no default value.