mongoc_socket_destroy man page

mongoc_socket_destroy() — This function releases all resources associated with a mongoc_socket_t. This should be called when you are no longer using the socket.

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

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Referenced By

mongoc_socket_accept(3), mongoc_socket_new(3).

2016‐10‐19 MongoDB C Driver