Scroll to navigation

MONGOC_SOCKET_DESTROY(3) Library Functions Manual MONGOC_SOCKET_DESTROY(3)

NAME

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.
2016‐10‐12 MongoDB C Driver