mongoc_socket_setsockopt man page

mongoc_socket_setsockopt ā€” mongoc_socket_setsockopt()

Synopsis

int
mongoc_socket_setsockopt (mongoc_socket_t *sock,
                          int level,
                          int optname,
                          const void *optval,
                          mongoc_socklen_t optlen);

Parameters

Description

This is a helper function for setsockopt().

Returns

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

Author

MongoDB, Inc

Info

Aug 10, 2017 1.7.0 MongoDB C Driver