mongoc_server_description_host man page

mongoc_server_description_host() — Return the server's host and port. This object is owned by the server description.

Synopsis

mongoc_host_list_t *
mongoc_server_description_host (const mongoc_server_description_t *description);

Parameters

description
A mongoc_server_description_t

Description

Return the server's host and port. This object is owned by the server description.

Returns

A reference to the server description's mongoc_host_list_t , which you must not modify or free.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐11‐07 MongoDB C Driver