1MONGOC_URI_NEW_FOR_HOST_PORT(3)    libmongoc   MONGOC_URI_NEW_FOR_HOST_PORT(3)
2
3
4

SYNOPSIS

6          mongoc_uri_t *
7          mongoc_uri_new_for_host_port (const char *hostname, uint16_t port);
8

PARAMETERS

10hostname: A string containing the hostname.
11
12port: A uint16_t.
13

DESCRIPTION

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

RETURNS

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

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023  MONGOC_URI_NEW_FOR_HOST_PORT(3)
Impressum