carta
mongoc_stream_tls_do_handshake(3)

mongoc_stream_tls_do_handshake3

This function shall perform an ssl handshake on the underlying stream.

Usage

bool

mongoc_stream_tls_do_handshake (mongoc_stream_t *stream,

int32_t timeout_msec);

Parameters

stream

A mongoc_stream_tls_t

timeout_msec

A timeout, in milliseconds, for the handshake.

This function shall perform an SSL handshake on the underlying stream.

Returns

The mongoc_stream_tls_do_handshake(3) function returns true if the handshake was successful. If false, errno or openssl errors may be set.

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

From libmongoc-doc 1.4.2-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.