1MONGOC_STREAM_SETSOCKOPT(3)    MongoDB C Driver    MONGOC_STREAM_SETSOCKOPT(3)
2
3
4

NAME

6       mongoc_stream_setsockopt - mongoc_stream_setsockopt()
7

SYNOPSIS

9          int
10          mongoc_stream_setsockopt (mongoc_stream_t *stream,
11                                    int level,
12                                    int optname,
13                                    void *optval,
14                                    mongoc_socklen_t optlen);
15

PARAMETERS

17       · stream: A mongoc_stream_t.
18
19       · level: The level to pass to setsockopt().
20
21       · optname: The optname to pass to setsockopt().
22
23       · optval: The optval to pass to setsockopt().
24
25       · optlen: The optlen to pass to setsockopt().
26
27       This  function  is  a wrapper around setsockopt() for streams that wrap
28       sockets.
29

RETURNS

31       0 on success, otherwise -1 and errno is set.
32

AUTHOR

34       MongoDB, Inc
35
37       2017-present, MongoDB, Inc
38
39
40
41
421.13.1                           Jan 24, 2019      MONGOC_STREAM_SETSOCKOPT(3)
Impressum