[gnutls-devel] GnuTLS | Sockets: implement sendmsg()-like functions on Win32 (bfd453f3)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 25 13:44:41 CET 2021




Evgeny Grin commented on a discussion on lib/system/sockets.c: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743760512

>  {
>  	return send(GNUTLS_POINTER_TO_INT(ptr), data, data_size, 0);
>  }
> +
> +ssize_t
> +system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec,
> +	      int iovec_cnt)
> +{
> +	WSABUF bufs[iovec_cnt];

There is no limit on WinNT-based Windows versions.
It was limited to 16 buffers for Windows 9x/ME, but it was a very long time ago. :smile: 

By the way, POSIX version does not check for the limits, while Solaris (for example) still limited to 16 buffers.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743760512
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20211125/144a8ff5/attachment.html>


More information about the Gnutls-devel mailing list