[Help-gnutls] gnutls_bye(), return values, and looping

Joe Shaw joe at ximian.com
Tue Feb 3 17:28:34 CET 2004


On Tue, 2004-02-03 at 16:16 +0200, Nikos Mavroyanopoulos wrote:
> I just thought that if you wait for an EOF, you'll probably
> have the same E_AGAIN error condition as before. You should just
> close the socket after sending the bye.

Yeah, I am now ignoring the E_AGAIN error and just closing it after it
returns, as long as it's not E_INTERRUPTED and the loop appears to be
fixed.

Thanks for your help,
Joe






More information about the Gnutls-help mailing list