Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_URI_NEW_FOR_HOST_PORT(3)     libmongoc	 MONGOC_URI_NEW_FOR_HOST_PORT(3)

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.

DESCRIPTION
     Creates a new mongoc_uri_t based on the hostname and port provided.

RETURNS
     Returns   a   newly  allocated  mongoc_uri_t  that  should  be  freed  with
     mongoc_uri_destroy() when no longer in use.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026	 MONGOC_URI_NEW_FOR_HOST_PORT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_uri_new_for_host_port&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help