#271: Query on libssh2_session_set_timeout
---------------------------+--------------------
Reporter: ganga bhavani | Owner:
Type: optimization | Status: new
Priority: low | Milestone: 1.4.3
Component: examples | Version: 1.4.2
Keywords: | Blocked By:
Blocks: |
---------------------------+--------------------
Hi,
Can any one help me in understanding what exactly the
libssh2_session_set_timeout API call will do. As per the libssh2 docs , I
read it as used to set timeout for blocking functions. But I could able to
understand whether this will set timeout for only the API above which this
"libssh2_session_set_timeout " is set or it will set timeout on entire
session and thus this timeout will be effected to all the API's used with
that session.
I am new to libssh2. So please help me in understanding the usage.
It would be more helpful, if I can get a sample program to use this
libssh2_session_set_timeout((LIBSSH2_SESSION *session, long timeout); API.
Thanking you in advance.
GB
-- Ticket URL: <https://trac.libssh2.org/ticket/271> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2013-09-07