Subject: BLOCK_ADJUST

BLOCK_ADJUST

From: double <ninive_at_gmx.at>
Date: Tue, 28 Apr 2009 12:33:21 +0200

Hello,

I am re-writing my code using non-blocking sockets. The demos
check the returncode for "LIBSSH2_ERROR_EAGAIN", but most
of the libssh2 functions use the "BLOCK_ADJUST()" macro.

Is it still necessary to check the returncode for EAGAIN? If yes,
is there a list of dangerous functions?

Thank you very much
Marcus

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-04-28