Provided by: libmongoc-doc_1.16.1-1build2_all 

NAME
mongoc_socket_destroy - mongoc_socket_destroy()
SYNOPSIS
void mongoc_socket_destroy (mongoc_socket_t *sock);
PARAMETERS
• sock: A mongoc_socket_t.
DESCRIPTION
This function releases all resources associated with a mongoc_socket_t. This should be called when you are no longer using the socket. Does nothing if sock is NULL.
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc 1.16.1 Mar 03, 2020 MONGOC_SOCKET_DESTROY(3)