mongoc_socket_listen3
Usage
int mongoc_socket_listen (mongoc_socket_t *sock, unsigned int backlog);
Parameters
•
|
|
|---|---|
•
|
|
Overview
This function is similar to the BSD sockets listen() function. It is meant for socket servers.
Returns
0 on success, -1 on failure and errno is set.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.