![]() |
nrfxlib API 3.3.99
|
| #define NRF_MSG_DONTWAIT 0x40 |
#include <nrf_modem/include/nrf_socket.h>
Enables non-blocking operation for this specific function call.
If the operation blocks, the function returns immediately with -1 and sets errno to NRF_EAGAIN or NRF_EWOULDBLOCK. This flag has no effect if the socket is already set to non-blocking mode using nrf_fcntl. This flag is useful when an application wants to perform a single non-blocking operation on a socket that is otherwise in blocking mode. The default behavior is to follow the socket's blocking mode.