PARAMETERS
- Provided by: libmongoc-doc (Version: 1.26.0-1.1ubuntu2)
- Source: mongo-c-driver
- Report a bug
Creates a new mongoc_socket_t structure. This calls socket() underneath to create a network socket.
A new socket if successful, otherwise NULL and errno is set. The result should be freed with mongoc_socket_destroy() when no longer in use.
MongoDB, Inc
2017-present, MongoDB, Inc