oracular (3) mongoc_client_set_sockettimeoutms.3.gz

Provided by: libmongoc-doc_1.27.5-1_all bug

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

client: A mongoc_client_t.

       • timeoutms: The requested timeout value in milliseconds.

       SEE ALSO:
          URI Connection Options

AUTHOR

       MongoDB, Inc

       2017-present, MongoDB, Inc