[Help-gnutls] Asynchronous application and not enough buffer ready

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Jun 8 21:27:16 CEST 2005


On Wednesday 08 June 2005 20:46, cascardo at minaslivre.org wrote:

> Well, that was the kind of solution I was looking for. Something that
> would not require reading from the socket outside the main loop.
> However, the solution proposed has made gnutls_record_recv go into a
> loop. It should return with 0 bytes read to the caller. I will check
0 means EOF from the stream so it is not a valid return value.
gnutls should return GNUTLS_E_AGAIN. It will not get in a loop.

-- 
Nikos Mavrogiannopoulos





More information about the Gnutls-help mailing list