Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Parameters

       • stream: A mongoc_stream_t.

       • level: The level to pass to setsockopt().

       • optname: The optname to pass to setsockopt().

       • optval: The optval to pass to setsockopt().

       • optlen: The optlen to pass to setsockopt().

       This function is a wrapper around setsockopt() for streams that wrap sockets.

Returns

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

Synopsis

          int
          mongoc_stream_setsockopt (mongoc_stream_t *stream,
                                    int level,
                                    int optname,
                                    void *optval,
                                    mongoc_socklen_t optlen);

See Also