Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
libssh2_channel_forward_accept(3)    libssh2   libssh2_channel_forward_accept(3)

NAME
     libssh2_channel_forward_accept - accept a queued connection

SYNOPSIS
     #include <libssh2.h>

     LIBSSH2_CHANNEL *
     libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);

DESCRIPTION
     listener  is  a  forwarding  listener instance as returned by libssh2_chan-
     nel_forward_listen_ex(3).

RETURN VALUE
     A newly allocated channel instance or NULL on failure.

ERRORS
     When this function returns NULL use  libssh2_session_last_errno(3)  to  ex-
     tract  the error code. If that code is LIBSSH2_ERROR_EAGAIN, the session is
     set to do non-blocking I/O but the call would block.

SEE ALSO
     libssh2_channel_forward_listen_ex(3)

libssh2 0.15			   1 Jun 2007  libssh2_channel_forward_accept(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libssh2_channel_forward_accept&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help