1MONGOC_STREAM_UNCORK(3) libmongoc MONGOC_STREAM_UNCORK(3)
2
3
4
6 mongoc_stream_uncork - mongoc_stream_uncork()
7
9 int
10 mongoc_stream_uncork (mongoc_stream_t *stream);
11
13 • stream: A mongoc_stream_t.
14
15 This function shall allow a previously corked socket to pass bytes to
16 the underlying socket.
17
18 NOTE:
19 Not all streams implement this function. Buffering generally works
20 better.
21
23 0 on success, -1 on failure and errno is set.
24
25 SEE ALSO:
26 mongoc_stream_buffered_new().
27
28 mongoc_stream_cork().
29
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.20.0 Nov 18, 2021 MONGOC_STREAM_UNCORK(3)