| MONGOC_STREAM_SETSOCKOPT(3) | libmongoc | MONGOC_STREAM_SETSOCKOPT(3) |
int
mongoc_stream_setsockopt (mongoc_stream_t *stream,
int level,
int optname,
void *optval,
mongoc_socklen_t optlen);
This function is a wrapper around setsockopt() for streams that wrap sockets.
0 on success, otherwise -1 and errno is set.
MongoDB, Inc
2017-present, MongoDB, Inc
| March 31, 2024 | 1.26.0 |