Function nrfxlib_sys::nrf_recvfrom
source · pub unsafe extern "C" fn nrf_recvfrom(
socket: c_int,
buffer: *mut c_void,
length: usize,
flags: c_int,
address: *mut nrf_sockaddr,
address_len: *mut nrf_socklen_t
) -> isize
Expand description
Receive a message from a 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.