1libssh2_session_set_read_timeout(3) libssh2libssh2_session_set_read_timeout(3)
2
3
4

NAME

6       libssh2_session_set_read_timeout  -  set  timeout for packet read func‐
7       tions
8

SYNOPSIS

10       #include <libssh2.h>
11
12       void
13       libssh2_session_set_read_timeout(LIBSSH2_SESSION *session, long timeout);
14

DESCRIPTION

16       Set the timeout in seconds for how long libssh2  packet  read  function
17       calls  may  wait  until they consider the situation an error and return
18       LIBSSH2_ERROR_TIMEOUT.
19
20       By default or if you set the timeout to zero, the timeout will  be  set
21       to 60 seconds.
22

RETURN VALUE

24       Nothing
25

AVAILABILITY

27       Added in 1.10.1
28

SEE ALSO

30       libssh2_session_get_read_timeout(3)
31
32
33
34libssh2                           13 Jan 202l3ibssh2_session_set_read_timeout(3)
Impressum