pub unsafe extern "C" fn nrf_accept(
socket: c_int,
address: *mut nrf_sockaddr,
address_len: *mut nrf_socklen_t,
) -> c_intExpand description
Accept a new connection a socket.
@details See POSIX.1-2017 article for normative description.
In addition, the function may return -1 and set the following errno:
- NRF_EAGAIN The socket’s NRF_SO_RCVTIMEO timeout was exceeded.
- NRF_ESHUTDOWN Modem was shut down.