Archive Index
This month's Index
|
Subject: Setting timeout in blocking mode
Setting timeout in blocking mode
From: Sebastien Fricker <Sebastien.Fricker_at_ipetronik.com>
Date: Tue, 09 Mar 2010 11:00:52 +0100
Hi,
If we have a look on _libssh2_wait_socket() we can see that the select
Code:
if(rc <= 0) {
Is there any reason not to add a timeout parameter as follows?:
This would only require to add 'timeout' into the session struct and to
-- ------------------------------------------------------------ Ipetronik GmbH & Co.KG Jaegerweg 1 D-76532 Baden-Baden Phone-No. +49 - (0)7221/9922-467 Fax-No. +49 - (0)7221/9922-153 mailto: sebastien.fricker_at_ipetronik.com web: http://www.ipetronik.com ------------------------------------------------------------ Kommanditgesellschaft mit Sitz in Baden-Baden, Registergericht HRA Nr.201313 Persoenlich haftende Gesellschaft ist die IPETRONIK Verwaltungs GmbH mit Sitz in Baden-Baden, Registergericht Mannheim HRB Nr.202089, Geschäftsführer: J.Abromeit, E.Rudolf, A. Wocke ------------------------------------------------------------- _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-03-09 |