mongoc_uri_new_for_host_port
mongoc_uri_new_for_host_port()
- Provided by: libmongoc-doc (Version: 1.21.0-1build1)
- Source: mongo-c-driver
- Report a bug
mongoc_uri_new_for_host_port()
mongoc_uri_t * mongoc_uri_new_for_host_port (const char *hostname, uint16_t port);
Creates a new mongoc_uri_t based on the hostname and port provided.
Returns a newly allocated mongoc_uri_t that should be freed with mongoc_uri_destroy() when no longer in use.
MongoDB, Inc
2017-present, MongoDB, Inc