libssh2_keepalive_send.3 (600B)
1.TH libssh2_keepalive_send 3 "13 Apr 2011" "libssh2" "libssh2" 2.SH NAME 3libssh2_keepalive_send - short function description 4.SH SYNOPSIS 5.nf 6#include <libssh2.h> 7 8int 9libssh2_keepalive_send(LIBSSH2_SESSION *session, 10 int *seconds_to_next); 11.fi 12.SH DESCRIPTION 13Send a keepalive message if needed. \fBseconds_to_next\fP indicates how many 14seconds you can sleep after this call before you need to call it again. 15.SH RETURN VALUE 16Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors. 17.SH AVAILABILITY 18Added in libssh2 1.2.5 19.SH SEE ALSO 20.BR libssh2_keepalive_config(3)