mongoc_client_set_sockettimeoutms - Man Page

Synopsis

void
mongoc_client_set_sockettimeoutms (mongoc_client_t *client, int32_t timeoutms);

Change the sockettimeoutms of the mongoc_client_t.

If client was obtained from a mongoc_client_pool_t, the socket timeout is restored to the previous value when calling mongoc_client_pool_push().

Parameters

SEE ALSO:

URI Connection Options

Author

MongoDB, Inc

Info

Nov 07, 2024 1.29.0 libmongoc