nrfxlib API 0.1.0
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.