mongoc_socket_destroy - Man Page
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
2009-present, MongoDB, Inc.
Info
Sep 04, 2026 2.5.2 libmongoc