logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mongoc_stream_t *

Author

       MongoDB, Inc

Parameters

socket: A mongoc_socket_t.

       Creates a new mongoc_stream_socket_t using the mongoc_socket_t provided.

       WARNING:
          This function transfers ownership of socket to the newly allocated stream.

Returns

       A newly allocated mongoc_stream_socket_t that should be freed with mongoc_stream_destroy() when no longer
       in use.

Synopsis

          mongoc_stream_t *
          mongoc_stream_socket_new (mongoc_socket_t *socket);

See Also