1libssh2_session_set_timeout(3) libssh2 libssh2_session_set_timeout(3)
2
3
4
6 libssh2_session_set_timeout - set timeout for blocking functions
7
9 #include <libssh2.h>
10
11 void
12 libssh2_session_set_timeout(LIBSSH2_SESSION *session, long timeout);
13
15 Set the timeout in milliseconds for how long a blocking the libssh2
16 function calls may wait until they consider the situation an error and
17 return LIBSSH2_ERROR_TIMEOUT.
18
19 By default or if you set the timeout to zero, libssh2 has no timeout
20 for blocking functions.
21
23 Nothing
24
26 Added in 1.2.9
27
29 libssh2_session_get_timeout(3)
30
31
32
33libssh2 4 May 2011 libssh2_session_set_timeout(3)