1MONGOC_SOCKET_GETNAMEINFO(3)       libmongoc      MONGOC_SOCKET_GETNAMEINFO(3)
2
3
4

SYNOPSIS

6          char *
7          mongoc_socket_getnameinfo (mongoc_socket_t *sock) BSON_GNUC_WARN_UNUSED_RESULT;
8

PARAMETERS

10sock: A mongoc_socket_t.
11

DESCRIPTION

13       This  is  a  helper  around getting the local name of a socket. It is a
14       wrapper around getpeername() and getnameinfo().
15

RETURNS

17       A newly allocated string that should be freed with bson_free().
18

AUTHOR

20       MongoDB, Inc
21
23       2017-present, MongoDB, Inc
24
25
26
27
281.25.1                           Nov 08, 2023     MONGOC_SOCKET_GETNAMEINFO(3)
Impressum