[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] gnutls session termination
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [Help-gnutls] gnutls session termination |
Date: |
Mon, 19 Jan 2009 21:54:35 +0200 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
Martin Knappe wrote:
> server and client establish connection
> while the client is sending something to the server via gnutls_record_send,
> the server vm is reset (like the "real" machine was unplugged)
> the client process hangs in gnutls_record_send and doesnt come back!
>
> what i want here is of course the the client return from gnutls_record_send!
The same as you would do for send(). gnutls_recond_send doesn't block,
only send blocks, thus you must check the relevant socket options.
regards,
Nikos