[Help-gnutls] gnutls with unix domain (local) sockets

Arturo Martinez Rubio artu86yec at gmail.com
Mon Sep 29 15:44:49 CEST 2008


Well, basically the benefit is that UNIX sockets are supposed to have better
performance that TCP sockets. In my specific case, the applications which
will communicate using TLS are running in the same machine.

Thanks for your answer,
Arturo

2008/9/29 Nikos Mavrogiannopoulos <nmav at gnutls.org>

> Arturo Martinez Rubio wrote:
> > Hi everyone,
> >
> > Does anyone know if gnutls works over unix domain sockets?
> > For example:
> >
> > sock = socket(PF_UNIX, SOCK_STREAM, 0);
> > ...
> > gnutls_transport_set_ptr(session, sock);
> > ...
>
> It does. What would be the benefit of such an operation though?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20080929/77189f92/attachment.htm>


More information about the Gnutls-help mailing list