void mongoc_socket_destroy (mongoc_socket_t *sock);
- sock: A mongoc_socket_t.
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.
2017-present, MongoDB, Inc
Jan 19, 2023 1.23.2 libmongoc