1MONGOC_SOCKET_SENDV(3)             libmongoc            MONGOC_SOCKET_SENDV(3)
2
3
4

SYNOPSIS

6          ssize_t
7          mongoc_socket_sendv (mongoc_socket_t *sock,
8                               mongoc_iovec_t *iov,
9                               size_t iovcnt,
10                               int64_t expire_at);
11

PARAMETERS

13sock: A mongoc_socket_t.
14
15iov: A mongoc_iovec_t.
16
17iovcnt: A size_t containing the number of elements in iov.
18
19expire_at:  A  int64_t  with  absolute timeout in monotonic time. The
20         monotonic clock is in microseconds and can be  fetched  using  System
21         Clock.
22

DESCRIPTION

24       Sends  a vector of buffers to the destination. This uses sendmsg() when
25       available to perform a gathered write. If IOV_MAX is reached,  a  fall‐
26       back will be used.
27

RETURNS

29       the number of bytes sent on success, or -1 on failure and errno is set.
30

AUTHOR

32       MongoDB, Inc
33
35       2017-present, MongoDB, Inc
36
37
38
39
401.25.1                           Nov 08, 2023           MONGOC_SOCKET_SENDV(3)
Impressum