MONGOC_SOCKET_SENDV(3) | libmongoc | MONGOC_SOCKET_SENDV(3) |
mongoc_socket_sendv - mongoc_socket_sendv()
ssize_t mongoc_socket_sendv (mongoc_socket_t *sock,
mongoc_iovec_t *iov,
size_t iovcnt,
int64_t expire_at);
Sends a vector of buffers to the destination. This uses sendmsg() when available to perform a gathered write. If IOV_MAX is reached, a fallback will be used.
the number of bytes sent on success, or -1 on failure and errno is set.
MongoDB, Inc
2017-present, MongoDB, Inc
June 4, 2021 | 1.17.6 |