table of contents
libssh2_keepalive_config(3) | libssh2 manual | libssh2_keepalive_config(3) |
NAME¶
libssh2_keepalive_config - short function descriptionSYNOPSIS¶
#include <libssh2.h>void libssh2_keepalive_config(LIBSSH2_SESSION *session, int want_reply, unsigned interval);
DESCRIPTION¶
Set how often keepalive messages should be sent. want_reply indicates whether the keepalive messages should request a response from the server. interval is number of seconds that can pass without any I/O, use 0 (the default) to disable keepalives. To avoid some busy-loop corner-cases, if you specify an interval of 1 it will be treated as 2.RETURN VALUE¶
NothingAVAILABILITY¶
Added in libssh2 1.2.5SEE ALSO¶
libssh2_keepalive_send(3)12 Apr 2011 | libssh2 1.2.5 |