mongoc_server_description_t (3) - Linux Manuals
mongoc_server_description_t: Server description
Command to display mongoc_server_description_t
manual in Linux: $ man 3 mongoc_server_description_t
NAME
mongoc_server_description_t - Server description
SYNOPSIS
#include <mongoc.h>
typedef struct _mongoc_server_description_t mongoc_server_description_t
mongoc_server_description_t
holds information about a mongod server to which the driver has connected.
LIFECYCLE
It is required that this object be cleaned up with
mongoc_server_description_destroy(3)
\&.
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_t
- mongoc_server_description_destroy (3) - This function cleans up all memory associated with the given server description.
- mongoc_server_description_host (3) - This function returns the host that the given server description is associated with. This object is owned by the 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_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.