Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

char *

Author

       MongoDB, Inc

Description

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

Parameters

       • sock: A mongoc_socket_t.

Returns

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

Synopsis

          char *
          mongoc_socket_getnameinfo (mongoc_socket_t *sock);

See Also