mongoc_stream_close()
int mongoc_stream_close (mongoc_stream_t *stream);
This function shall close underlying file-descriptors of stream.
0 on success, otherwise -1 and errno is set.
mongoc_stream_destroy()
MongoDB, Inc
2018, MongoDB, Inc