Subject: [libssh2] #271: Query on libssh2_session_set_timeout

[libssh2] #271: Query on libssh2_session_set_timeout

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sat, 07 Sep 2013 06:05:23 -0000

#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-devel
Received on 2013-09-07