Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONGOC_SOCKET_SENDV(3)		   libmongoc		MONGOC_SOCKET_SENDV(3)

SYNOPSIS
	  ssize_t
	  mongoc_socket_sendv (mongoc_socket_t *sock,
			       mongoc_iovec_t *iov,
			       size_t iovcnt,
			       int64_t expire_at);

PARAMETERS
        sock: A mongoc_socket_t.

        iov: A	mongoc_iovec_t.

        iovcnt: A size_t containing the number	of elements in iov.

        expire_at: A int64_t with absolute timeout in monotonic time. The mo-
	 notonic  clock	 is  in	 microseconds  and can be fetched using	System
	 Clock.

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

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

AUTHOR
       MongoDB,	Inc

COPYRIGHT
       2009-present, MongoDB, Inc.

1.30.2				 Apr 12, 2025		MONGOC_SOCKET_SENDV(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_socket_sendv&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help