Function nrfxlib_sys::nrf_accept
source · pub unsafe extern "C" fn nrf_accept(
socket: c_int,
address: *mut nrf_sockaddr,
address_len: *mut nrf_socklen_t
) -> c_int
Expand description
Accept a new connection 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.