1MONGOC_STREAM_SETSOCKOPT(3)        libmongoc       MONGOC_STREAM_SETSOCKOPT(3)
2
3
4

SYNOPSIS

6          int
7          mongoc_stream_setsockopt (mongoc_stream_t *stream,
8                                    int level,
9                                    int optname,
10                                    void *optval,
11                                    mongoc_socklen_t optlen);
12

PARAMETERS

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

RETURNS

28       0 on success, otherwise -1 and errno is set.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.25.1                           Nov 08, 2023      MONGOC_STREAM_SETSOCKOPT(3)
Impressum