mongoc_uri_new_for_host_port (3) Linux Manual Page
mongoc_uri_new_for_host_port() – Creates a new mongoc_uri_t based on the hostname and port provided.
Synopsis
mongoc_uri_t *
mongoc_uri_new_for_host_port (const char *hostname,
uint16_t port);
Parameters
- hostname
- A string containing the hostname.
- port
- A uint16_t.
