[Help-gnutls] Re: Equivalent to fdopen?

Florian Weimer fweimer at bfk.de
Mon Aug 18 10:21:21 CEST 2008


* Simon Josefsson:

> There is no such equivalent now.  If it is possible to implement it, it
> would be a cool feature.  But is it possible to implement it?  I dunno.
> Seems like you need some hooks into the f* buffering structures used by
> libc.  It doesn't sound trivial to do.

You could use socketpair() and threads.  But it's certainly not a nice
approach.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99





More information about the Gnutls-help mailing list