SYNOPSIS
char *
mongoc_socket_getnameinfo (mongoc_socket_t *sock);
PARAMETERS
- sock
- A mongoc_socket_t \&.
DESCRIPTION
This is a helper around getting the local name of a socket. It is a wrapper around getpeername(3) and getnameinfo(3) \&.
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(3) and getnameinfo(3) \&.