logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

libssh2_keepalive_send - short function description

Availability

       Added in libssh2 1.2.5

Description

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

Name

       libssh2_keepalive_send - short function description

Return Value

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

See Also

libssh2_keepalive_config(3)

libssh2                                            13 Apr 2011                         libssh2_keepalive_send(3)

Synopsis

       #include <libssh2.h>

       int
       libssh2_keepalive_send(LIBSSH2_SESSION *session,
                              int *seconds_to_next);

See Also