geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
944 B

  1. .TH libssh2_keepalive_config 3 "12 Apr 2011" "libssh2 1.2.5" "libssh2 manual"
  2. .SH NAME
  3. libssh2_keepalive_config - short function description
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. .nf
  7. void libssh2_keepalive_config(LIBSSH2_SESSION *session,
  8. int want_reply,
  9. unsigned interval);
  10. .fi
  11. .SH DESCRIPTION
  12. Set how often keepalive messages should be sent. \fBwant_reply\fP indicates
  13. whether the keepalive messages should request a response from the server.
  14. \fBinterval\fP is number of seconds that can pass without any I/O, use 0 (the
  15. default) to disable keepalives. To avoid some busy-loop corner-cases, if you
  16. specify an interval of 1 it will be treated as 2.
  17. Note that non-blocking applications are responsible for sending the keepalive
  18. messages using \fBlibssh2_keepalive_send(3)\fP.
  19. .SH RETURN VALUE
  20. Nothing
  21. .SH AVAILABILITY
  22. Added in libssh2 1.2.5
  23. .SH SEE ALSO
  24. .BR libssh2_keepalive_send(3)