mongoc_client_set_sockettimeoutms(3)

mongoc_client_set_sockettimeoutms3

Usage

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

•

client: A mongoc_client_t.

•

timeoutms: The requested timeout value in milliseconds.

SEE ALSO:

URI Connection Options

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.