mongoc_stream_setsockopt - Man Page

Synopsis

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

Parameters

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

Returns

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

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libmongoc