MONGOC_STREAM_UNCORK(3)
MONGOC_STREAM_UNCORK(3) π
okay so this is from the libmongoc manual, and we're talking about the moment a corked socket finally gets to send its bytes through. iconic β¨
β¨ SYNOPSIS β¨
int
mongoc_stream_uncork (mongoc_stream_t *stream);
π PARAMETERS π
streamβ amongoc_stream_t. that's the stream, bestie π«Ά
This function shall allow a previously corked socket to pass bytes to the underlying socket. no cap, that's the whole assignment π
β οΈ NOTE: Not all streams implement this function. Buffering generally works better. π
π₯ RETURNS π₯
0 on success, -1 on failure and errno is set. periodt.
π SEE ALSO π
mongoc_stream_buffered_new().mongoc_stream_cork().
π AUTHOR π
MongoDB, Inc. main character author energy π
π COPYRIGHT π
2009-present, MongoDB, Inc.
bye bestie π«Ά β this page is libmongoc version 2.5.6, dated Oct 09, 2026, with manual tag MONGOC_STREAM_UNCORK(3). slay β¨
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms