cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

libssh2_keepalive_config.3 (920B)


      1.TH libssh2_keepalive_config 3 "12 Apr 2011" "libssh2" "libssh2"
      2.SH NAME
      3libssh2_keepalive_config - short function description
      4.SH SYNOPSIS
      5.nf
      6#include <libssh2.h>
      7
      8void
      9libssh2_keepalive_config(LIBSSH2_SESSION *session,
     10                         int want_reply,
     11                         unsigned interval);
     12.fi
     13.SH DESCRIPTION
     14Set how often keepalive messages should be sent. \fBwant_reply\fP indicates
     15whether the keepalive messages should request a response from the server.
     16\fBinterval\fP is number of seconds that can pass without any I/O, use 0 (the
     17default) to disable keepalives.  To avoid some busy-loop corner-cases, if you
     18specify an interval of 1 it will be treated as 2.
     19
     20Note that non-blocking applications are responsible for sending the keepalive
     21messages using \fBlibssh2_keepalive_send(3)\fP.
     22.SH RETURN VALUE
     23Nothing
     24.SH AVAILABILITY
     25Added in libssh2 1.2.5
     26.SH SEE ALSO
     27.BR libssh2_keepalive_send(3)