1MONGOC_SOCKET_LISTEN(3) libmongoc MONGOC_SOCKET_LISTEN(3)
2
3
4
6 mongoc_socket_listen - mongoc_socket_listen()
7
9 int
10 mongoc_socket_listen (mongoc_socket_t *sock, unsigned int backlog);
11
13 • sock: A mongoc_socket_t.
14
15 • backlog: An int containing max backlog size.
16
18 This function is similar to the BSD sockets listen() function. It is
19 meant for socket servers.
20
22 0 on success, -1 on failure and errno is set.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.23.1 Oct 20, 2022 MONGOC_SOCKET_LISTEN(3)