MONGOC_SERVER_DESCRIPTION_HOST(3) libmongoc MONGOC_SERVER_DESCRIPTION_HOST(3)

mongoc_host_list_t *
mongoc_server_description_host (const mongoc_server_description_t *description);


description: A mongoc_server_description_t.

Return the server's host and port. This object is owned by the server description.

A reference to the server description's mongoc_host_list_t, which you must not modify or free.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0