Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_SOCKET_GETNAMEINFO(3)	    libmongoc	    MONGOC_SOCKET_GETNAMEINFO(3)

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() and getnameinfo().

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

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026	    MONGOC_SOCKET_GETNAMEINFO(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_socket_getnameinfo&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help