[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] handshake with non-blocking sockets?
From: |
Daniel Stenberg |
Subject: |
[Help-gnutls] handshake with non-blocking sockets? |
Date: |
Mon, 21 Mar 2005 23:10:06 +0100 (CET) |
Hi
Thanks Simon for the previous answers. I'm now progressing fine!
Here's another question:
When I use non-blocking sockets and call gnutls_handshake(). What happens and
how should I behave? The manual doesn't mention non-blocking anywhere...
When it returns GNUTLS_E_AGAIN, can I simply do a select() on the socket to
wait for data to become readable or writable and then call it again? Or could
it return with one of those return codes while still having data to be
processed without having to wait for anything on the socket?
Or did I just miss this (too) in the manual?
--
-=- Daniel Stenberg -=- http://daniel.haxx.se -=-
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
- [Help-gnutls] handshake with non-blocking sockets?,
Daniel Stenberg <=