[gnutls-devel] TCP Fast Open

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Jul 13 17:42:50 CEST 2016


On Wed, 2016-07-13 at 16:50 +0200, Tim Ruehsen wrote:
> Hi Nikos,
> 
> a question regarding the implementation...
> 
> The new function
> void
> gnutls_transport_set_fastopen(gnutls_session_t session,
> 			  struct sockaddr *connect_addr, socklen_t
> connect_addrlen)
> 
> needs sys/socket.h included in gnutls.h(.in). Is that ok for you, or
> how would 
> you like me to proceed ? Doing so might break the build on some
> platforms...

We can introduce a new header such as gnutls/socket.h. Even if now, it
is for a single function it may pay off in the future by having other
features specific for sockets and the default callbacks. 

regards,
Nikos




More information about the Gnutls-devel mailing list