Function nrfxlib_sys::nrf_recv
source · pub unsafe extern "C" fn nrf_recv(
socket: c_int,
buffer: *mut c_void,
length: usize,
flags: c_int
) -> isize
Expand description
Receive a message from a connected socket.
@details See POSIX.1-2017 article for normative description.
In addition, the function shall return -1 and set the following errno:
- NRF_ESHUTDOWN Modem was shut down.
- NRF_ENOMEM TCP stream interrupted because of no heap memory.