mongoc_socket_destroy(3)
| MONGOC_SOCKET_DESTROY(3) | libmongoc | MONGOC_SOCKET_DESTROY(3) |
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.
| February 10, 2026 | 1.30.7 |
