[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] gnutls and non blocking socket
From: |
Regit |
Subject: |
Re: [Help-gnutls] gnutls and non blocking socket |
Date: |
Wed, 13 Jul 2005 10:47:27 +0200 |
Le mardi 12 juillet 2005 à 18:18 +0200, Nikos Mavrogiannopoulos a
écrit :
> 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
problem anyway.
BR,
--
Éric Leblond, address@hidden
Téléphone : 01 44 89 46 40, Fax : 01 44 89 45 01
INL, http://www.inl.fr