MONGOC_SOCKET_GETNAMEINFO(3) | MongoDB C Driver | MONGOC_SOCKET_GETNAMEINFO(3) |
mongoc_socket_getnameinfo - mongoc_socket_getnameinfo()
char * mongoc_socket_getnameinfo (mongoc_socket_t *sock);
This is a helper around getting the local name of a socket. It is a wrapper around getpeername() and getnameinfo().
A newly allocated string that should be freed with bson_free().
MongoDB, Inc
2017-present, MongoDB, Inc
February 23, 2019 | 1.14.0 |