mongoc_server_description_host (3) - Linux Manuals
mongoc_server_description_host: This function returns the host that the given server description is associated with. This object is owned by the server description
Command to display mongoc_server_description_host
manual in Linux: $ man 3 mongoc_server_description_host
NAME
mongoc_server_description_host() - This function returns the host that the given server description is associated with. 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
The server description for which we'd like a host
\&.
DESCRIPTION
This function returns the host that the given server description is associated with. This object is owned by the server description
RETURNS
A reference to the given server description's
mongoc_host_list_t
\&.
COLOPHON
This page is part of MongoDB C Driver.
Please report any bugs at
https://jira.mongodb.org/browse/CDRIVER.
Pages related to mongoc_server_description_host
- mongoc_server_description_destroy (3) - This function cleans up all memory associated with the given server description.
- mongoc_server_description_id (3) - This functionr returns the server id for the given server description.
- mongoc_server_description_new_copy (3) - This function copies the given server description and returns a new server description object. The caller is responsible for destroying the new copy.
- mongoc_server_description_t (3) - Server description
- mongoc_socket_accept (3) - This function is a wrapper around the BSD socket accept() interface. It allows for more portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_bind (3) - This function is a wrapper around the BSD socket bind() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_close (3) - This function is a wrapper around the BSD socket shutdown() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_connect (3) - This function is a wrapper around the BSD socket connect() interface. It provides better portability between UNIX-like and Microsoft Windows platforms.
- mongoc_socket_destroy (3) - This function releases all resources associated with a mongoc_socket_t. This should be called when you are no longer using the socket.
- mongoc_socket_errno (3) - This function returns the currently captured errno for a socket. This may be useful to check was the last errno was after another function call has been made that clears the threads errno variable.
- mongoc_socket_getnameinfo (3) - This is a helper around getting the local name of a socket. It is a wrapper around getpeername() and getnameinfo().
- mongoc_socket_getsockname (3) - Retrieves the socket name for sock. The result is stored in addr. addrlen should be the size of the addr when calling this.