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

NAME

6       libssh2_keepalive_send - short function description
7

SYNOPSIS

9       #include <libssh2.h>
10
11       int libssh2_keepalive_send(LIBSSH2_SESSION *session,
12                                  int *seconds_to_next);
13

DESCRIPTION

15       Send a keepalive message if needed.  seconds_to_next indicates how many
16       seconds you can sleep after this call before you need to call it again.
17

RETURN VALUE

19       Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors.
20

AVAILABILITY

22       Added in libssh2 1.2.5
23

SEE ALSO

25       libssh2_keepalive_config(3)
26
27
28
29libssh2 1.2.5                     13 Apr 2011        libssh2_keepalive_send(3)
Impressum