1libssh2_session_set_timeout(3)  libssh2 manual  libssh2_session_set_timeout(3)
2
3
4

NAME

6       libssh2_session_set_timeout - set timeout for blocking functions
7

SYNOPSIS

9       #include <libssh2.h>
10       void libssh2_session_set_timeout(LIBSSH2_SESSION *session, long timeout);
11

DESCRIPTION

13       Set  the  timeout  in  milliseconds for how long a blocking the libssh2
14       function calls may wait until they consider the situation an error  and
15       return LIBSSH2_ERROR_TIMEOUT.
16
17       By  default  or  if you set the timeout to zero, libssh2 has no timeout
18       for blocking functions.
19

RETURN VALUE

21       Nothing
22

AVAILABILITY

24       Added in 1.2.9
25

SEE ALSO

27       libssh2_session_get_timeout(3)
28
29
30
31libssh2 1.2.9                     4 May 2011    libssh2_session_set_timeout(3)
Impressum