SysTutorials

Linux Manual Pages › Section 3

mongoc_stream_socket_get_socket(3)

mongoc_stream_socket_get_socket() – Retrieves the underlying mongoc_socket_t for a mongoc_stream_socket_t.

Synopsis

mongoc_socket_t *
mongoc_stream_socket_get_socket (mongoc_stream_socket_t *stream);

Parameters

stream
A mongoc_stream_socket_t \&.

Retrieves the underlying mongoc_socket_t for a mongoc_stream_socket_t \&.

Returns

A mongoc_stream_socket_t \&.

Colophon

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