mongoc_stream_socket_get_socket()

Synopsis

mongoc_socket_t *
mongoc_stream_socket_get_socket (mongoc_stream_socket_t *stream);

Parameters

Retrieves the underlying mongoc_socket_t for a mongoc_stream_socket_t.

Returns

A mongoc_stream_socket_t.