[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnutls-dev] Re: non-blocking sockets in GNUTLS-1.4.0
From: |
Simon Josefsson |
Subject: |
[gnutls-dev] Re: non-blocking sockets in GNUTLS-1.4.0 |
Date: |
Sat, 29 Jul 2006 12:37:03 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
satyakumar <address@hidden> writes:
> Hi,
>
> Does GNUTLS- 1.4.0 works on non-blocking sockets.
> How to set it to work on non-blocking sockets.
See the node "The transport layer" in the manual. Specifically, I
believe setting the sockets to non-blocking mode, and making sure to
call GnuTLS functions again for `GNUTLS_E_INTERRUPTED' and
`GNUTLS_E_AGAIN' errors is sufficient. You may want to look at
gnutls_transport_set_lowat() too.
/Simon