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
887 B

  1. .TH libssh2_channel_forward_cancel 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_forward_cancel - cancel a forwarded TCP port
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_forward_cancel(LIBSSH2_LISTENER *listener);
  8. .SH DESCRIPTION
  9. \fIlistener\fP - Forwarding listener instance as returned by
  10. .BR libssh2_channel_forward_listen_ex(3)
  11. Instruct the remote host to stop listening for new connections on a previously requested host/port.
  12. .SH RETURN VALUE
  13. Return 0 on success or negative on failure. It returns
  14. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  15. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  16. .SH ERRORS
  17. \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
  18. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
  19. .SH SEE ALSO
  20. .BR libssh2_channel_forward_listen_ex(3)