mongoc_stream_timed_out()

Synopsis

bool
mongoc_stream_timed_out (mongoc_stream_t *stream);

Parameters

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.