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

NAME

6       mongoc_uri_new_for_host_port - mongoc_uri_new_for_host_port()
7

SYNOPSIS

9          mongoc_uri_t *
10          mongoc_uri_new_for_host_port (const char *hostname, uint16_t port);
11

PARAMETERS

13       · hostname: A string containing the hostname.
14
15       · port: A uint16_t.
16

DESCRIPTION

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

RETURNS

21       Returns  a  newly allocated mongoc_uri_t that should be freed with mon‐
22       goc_uri_destroy() when no longer in use.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.16.2                           Feb 25, 2020  MONGOC_URI_NEW_FOR_HOST_PORT(3)
Impressum