Man Linux: Main Page and Category List

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_channel_forward_listen_ex(3).

RETURN VALUE

       A newly allocated channel instance or NULL on failure.

ERRORS

       LIBSSH2_ERROR_EAGAIN  -  Marked for non-blocking I/O but the call would
       block.

SEE ALSO

       libssh2_channel_forward_listen_ex(3)