[Help-gnutls] gnutls and non blocking socket
regit at inl.fr
Wed Jul 13 10:47:27 CEST 2005
Le mardi 12 juillet 2005 à 18:18 +0200, Nikos Mavrogiannopoulos a
> Regit wrote:
> > Hi,
> As far as I can see (if you mean in the function _gnutls_read()) there is.
> It checks whether i is less than zero and then checks whether errno is
> EAGAIN or EINTR.
Ok, I give some explanation of my problem :
Under windows (as it is not implemented under Linux) I've created a
socket with a RECV timeout.
I do a gnutls_record_recv on a TLS session built over the socket.
When the timeout expires, I try to send a packet with gnutls_record_send
on that TLS session. The point is that at this moment gnutls_record_send
always fail sending a -10 error (TLS session not correct).
I may have look in the bad place in the code but it seems that there's a
Éric Leblond, eleblond at inl.fr
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
More information about the Gnutls-help