GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBSSH2_KEEPALIVE_CONFIG (3)

NAME

libssh2_keepalive_config - short function description

CONTENTS

Synopsis
Description
Return Value
Availability
See Also

SYNOPSIS

#include <libssh2.h>

void libssh2_keepalive_config(LIBSSH2_SESSION *session, int want_reply, unsigned interval);

DESCRIPTION

Set how often keepalive messages should be sent. want_reply indicates whether the keepalive messages should request a response from the server. interval is number of seconds that can pass without any I/O, use 0 (the default) to disable keepalives. To avoid some busy-loop corner-cases, if you specify an interval of 1 it will be treated as 2.

Note that non-blocking applications are responsible for sending the keepalive messages using libssh2_keepalive_send(3).

RETURN VALUE

Nothing

AVAILABILITY

Added in libssh2 1.2.5

SEE ALSO

libssh2_keepalive_send(3)

Search for    or go to Top of page |  Section 3 |  Main Index


libssh2 1.2.5 LIBSSH2_KEEPALIVE_CONFIG (3) 12 Apr 2011

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.