[Help-gnutls] passing SSL connection to another process

Nikos Mavroyanopoulos nmav at gnutls.org
Thu Aug 15 17:52:11 CEST 2002

On Thu, Aug 15, 2002 at 01:44:23PM +0300, Timo Sirainen wrote:

> > > Another thing that isn't quite clear from the documentation is how to use
> > > gnutls with nonblocking I/O. All functions returning GNUTLS_E_AGAIN should
> > > be called again, but I'd also need to know if it happened on read or write,
> > > so I could call it again at proper time. I think this is a problem only with
> > > gnutls_handshake()?
> > I don't understand the question.
> Basically: How do I create a poll() based process handling multiple SSL
> connections?
> But what about gnutls_handshake(), AFAIK it both receives data and sends
> data. How should I know when to call it again? I'd want something similiar
> to gnutls_record_check_pending() to tell me if handshake waits on input or
> output.

Could you please check the gnutls_handshake_check_direction() function
in the cvs?

Nikos Mavroyanopoulos
mailto:nmav at gnutls.org

More information about the Gnutls-help mailing list