[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] passing SSL connection to another process
From: |
Nikos Mavroyanopoulos |
Subject: |
Re: [Help-gnutls] passing SSL connection to another process |
Date: |
Thu Aug 15 17:52:11 2002 |
User-agent: |
Mutt/1.4i |
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:address@hidden