libssh2_session_get_read_timeout.3 (636B)
1.TH libssh2_session_get_read_timeout 3 "13 Jan 2023" "libssh2" "libssh2" 2.SH NAME 3libssh2_session_get_read_timeout - get the timeout for packet read functions 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8long 9libssh2_session_get_read_timeout(LIBSSH2_SESSION *session); 10.fi 11.SH DESCRIPTION 12Returns the \fBtimeout\fP (in seconds) for how long the ssh2 packet receive 13function calls may wait until they consider the situation an error and 14return LIBSSH2_ERROR_TIMEOUT. 15 16By default the timeout is 60 seconds. 17.SH RETURN VALUE 18The value of the timeout setting. 19.SH AVAILABILITY 20Added in 1.10.1 21.SH SEE ALSO 22.BR libssh2_session_set_read_timeout(3)