nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_listen()

int nrf_listen ( int sock,
int backlog )

#include <nrf_modem/include/nrf_socket.h>

Listen for socket connections and limit the queue of incoming connections.

See POSIX.1-2017 article for normative description.

In addition, the function may return -1 and set the following errno:

  • [NRF_ESHUTDOWN] Modem was shut down.