Scroll to navigation

MONGOC_STREAM_TIMED_OUT(3) libmongoc MONGOC_STREAM_TIMED_OUT(3)

SYNOPSIS

bool
mongoc_stream_timed_out (mongoc_stream_t *stream);


PARAMETERS

stream: A mongoc_stream_t <>.

Warning:

Not all stream implementations consistently report timeouts. mongoc_stream_timed_out() <> may return false even if a timeout occurred.


RETURNS

True if there has been a network timeout error on this stream.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

April 22, 2026 2.3.0