1libssh2_keepalive_config(3)     libssh2 manual     libssh2_keepalive_config(3)
2
3
4

NAME

6       libssh2_keepalive_config - short function description
7

SYNOPSIS

9       #include <libssh2.h>
10
11       void libssh2_keepalive_config(LIBSSH2_SESSION *session,
12                                     int want_reply,
13                                     unsigned interval);
14

DESCRIPTION

16       Set  how  often keepalive messages should be sent. want_reply indicates
17       whether the keepalive messages  should  request  a  response  from  the
18       server.   interval  is number of seconds that can pass without any I/O,
19       use 0 (the default) to disable keepalives.   To  avoid  some  busy-loop
20       corner-cases, if you specify an interval of 1 it will be treated as 2.
21
22       Note  that  non-blocking  applications  are responsible for sending the
23       keepalive messages using libssh2_keepalive_send(3).
24

RETURN VALUE

26       Nothing
27

AVAILABILITY

29       Added in libssh2 1.2.5
30

SEE ALSO

32       libssh2_keepalive_send(3)
33
34
35
36
37libssh2 1.2.5                     12 Apr 2011      libssh2_keepalive_config(3)
Impressum