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

SYNOPSIS

6          int
7          mongoc_socket_listen (mongoc_socket_t *sock, unsigned int backlog);
8

PARAMETERS

10sock: A mongoc_socket_t.
11
12backlog: An int containing max backlog size.
13

DESCRIPTION

15       This  function  is  similar to the BSD sockets listen() function. It is
16       meant for socket servers.
17

RETURNS

19       0 on success, -1 on failure and errno is set.
20

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023          MONGOC_SOCKET_LISTEN(3)
Impressum