1libssh2_keepalive_send(3) libssh2 libssh2_keepalive_send(3)
2
3
4
6 libssh2_keepalive_send - short function description
7
9 #include <libssh2.h>
10
11 int
12 libssh2_keepalive_send(LIBSSH2_SESSION *session,
13 int *seconds_to_next);
14
16 Send a keepalive message if needed. seconds_to_next indicates how many
17 seconds you can sleep after this call before you need to call it again.
18
20 Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors.
21
23 Added in libssh2 1.2.5
24
26 libssh2_keepalive_config(3)
27
28
29
30libssh2 13 Apr 2011 libssh2_keepalive_send(3)