1MONGOC_SOCKET_LISTEN(3)            libmongoc           MONGOC_SOCKET_LISTEN(3)
2
3
4

NAME

6       mongoc_socket_listen - mongoc_socket_listen()
7

SYNOPSIS

9          int
10          mongoc_socket_listen (mongoc_socket_t *sock, unsigned int backlog);
11

PARAMETERS

13sock: A mongoc_socket_t.
14
15backlog: An int containing max backlog size.
16

DESCRIPTION

18       This  function  is  similar to the BSD sockets listen() function. It is
19       meant for socket servers.
20

RETURNS

22       0 on success, -1 on failure and errno is set.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.23.1                           Oct 20, 2022          MONGOC_SOCKET_LISTEN(3)
Impressum