1libssh2_keepalive_send(3) libssh2 manual libssh2_keepalive_send(3)
2
3
4
6 libssh2_keepalive_send - short function description
7
9 #include <libssh2.h>
10
11 int libssh2_keepalive_send(LIBSSH2_SESSION *session,
12 int *seconds_to_next);
13
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
19 Returns 0 on success, or LIBSSH2_ERROR_SOCKET_SEND on I/O errors.
20
22 Added in libssh2 1.2.5
23
25 libssh2_keepalive_config(3)
26
27
28
29libssh2 1.2.5 13 Apr 2011 libssh2_keepalive_send(3)