mongoc_stream_setsockopt()
This function is a wrapper around setsockopt() for streams that wrap sockets.
- Provided by: libmongoc-doc (Version: 1.3.1-1)
- Source: libmongoc
- Report a bug
This function is a wrapper around setsockopt() for streams that wrap sockets.
int
mongoc_stream_setsockopt (mongoc_stream_t *stream,
int level,
int optname,
void *optval,
socklen_t optlen);
This function is a wrapper around setsockopt(3) for streams that wrap sockets.
0 on success, otherwise ‐1 and errno is set.
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.