[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:09:54 CET 2021




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

>  {
>  	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];

That's correct, MSVC does not support variable length array. I was not aware that GnuTLS supports compiling by MSVC.
I'll make a patch.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743720903
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/f978de5a/attachment-0001.html>


More information about the Gnutls-devel mailing list