[gnutls-help] vectored gnutls_record_send for DTLS?
    Nikos Mavrogiannopoulos 
    nmav at gnutls.org
       
    Fri Mar 28 10:53:12 CET 2014
    
    
  
On Fri, Mar 28, 2014 at 10:37 AM, Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
> Hello,
>  There is no vectored read and write yet, but you can simulate it use
> gnutls_record_cork() and uncork().
> However, as these were made for TLS, there is some care needed when
> using them under DTLS (e.g., ensure you don't queue more data than the
> value of gnutls_dtls_get_data_mtu()).
I'm wrong here. Unfortunately gnutls_record_cork() is unsafe for use
with DTLS. That should be a thing to be fixed in 3.3.0.
Hence the only way available for DTLS and vectored data is to concatenate them.
regards,
Nikos
    
    
More information about the Gnutls-help
mailing list