logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

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

Parameters

sock: A mongoc_socket_t.

       • backlog: An int containing max backlog size.

Returns

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

Synopsis

          int
          mongoc_socket_listen (mongoc_socket_t *sock, unsigned int backlog);

See Also