1MONGOC_SOCKET_DESTROY(3) libmongoc MONGOC_SOCKET_DESTROY(3)
23
4
SYNOPSIS
6void
7mongoc_socket_destroy (mongoc_socket_t *sock);
8
PARAMETERS
10• sock: A mongoc_socket_t.
11
DESCRIPTION
13This function releases all resources associated with a mongoc_socket_t.
14This should be called when you are no longer using the socket. Does
15nothing if sock is NULL.
16
AUTHOR
18MongoDB, Inc
19
COPYRIGHT
212017-present, MongoDB, Inc
2223
24
25
26
1.25.1 Nov 08, 2023 MONGOC_SOCKET_DESTROY(3)