[Help-gnutls] gnutls_record_recv with non-blocking i/o

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu Jan 22 21:18:38 CET 2009


On Thu, 22 Jan 2009 12:46:00 +0100
Martin Knappe <martin.knappe at gmail.com> wrote:

> hi
> 
> i have set up a server that accepts several tls clients;
> the client opens a socket descriptor for each new client and makes it
> a non-blocking socket (via fcntl(socket, F_SETFL, O_NONBLOCK))
> i handle all clients in the same thread

Which version of gnutls do you use? Does the socket have any data to
read?


regards,
Nikos







More information about the Gnutls-help mailing list