Ubuntu Manpages

  • hostname: A string containing the hostname.
  • port: A uint16_t.

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

2009-present, MongoDB, Inc.