Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

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.

Parameters

sock: A mongoc_socket_t.

Synopsis

          void
          mongoc_socket_destroy (mongoc_socket_t *sock);

See Also