mongoc_socket_destroy man page

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.

Author

MongoDB, Inc

Info

May 24, 2017 1.6.3 MongoDB C Driver