1MONGOC_SOCKET_DESTROY(3) libmongoc MONGOC_SOCKET_DESTROY(3)
23
4
NAME
6mongoc_socket_destroy - mongoc_socket_destroy()
7
SYNOPSIS
9void
10mongoc_socket_destroy (mongoc_socket_t *sock);
11
PARAMETERS
13ยท sock: A mongoc_socket_t.
14
DESCRIPTION
16This function releases all resources associated with a mongoc_socket_t.
17This should be called when you are no longer using the socket. Does
18nothing if sock is NULL.
19
AUTHOR
21MongoDB, Inc
22
COPYRIGHT
242017-present, MongoDB, Inc
2526
27
28
29
1.17.4 Feb 04, 2021 MONGOC_SOCKET_DESTROY(3)