1MONGOC_STREAM_SETSOCKOPT(3)        libmongoc       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

17stream: A mongoc_stream_t.
18
19level: The level to pass to setsockopt().
20
21optname: The optname to pass to setsockopt().
22
23optval: The optval to pass to setsockopt().
24
25optlen: 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.24.3                           Aug 17, 2023      MONGOC_STREAM_SETSOCKOPT(3)
Impressum