| 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
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |