On 3/16/06, Cameron Ring <[EMAIL PROTECTED]> wrote:

> from the application side, i guess i could grab the transport ptr and set
> a timeout on the socket before calling gnutls_bye. does that sound
> reasonable?

Check Simon's reply. An alternative way would be to use the SHUT_WR
option to gnutls_bye(). That way you don't have to wait for the peer to reply
with a close request.

But in any case you may want to handle timeouts because you may also
get hang in a gnutls_record_recv() call.

regards,
Nikos


_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to