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_channel_forward_accept - accept a queued connection

Description

listener is a forwarding listener instance as returned by libssh2_channel_forward_listen_ex(3).

Errors

       When this function returns NULL use libssh2_session_last_errno(3) to extract 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.

Name

       libssh2_channel_forward_accept - accept a queued connection

Return Value

       A newly allocated channel instance or NULL on failure.

See Also

libssh2_channel_forward_listen_ex(3)

libssh2 0.15                                       1 Jun 2007                  libssh2_channel_forward_accept(3)

Synopsis

       #include <libssh2.h>

       LIBSSH2_CHANNEL *
       libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);

See Also