libssh2_channel_forward_accept - accept a queued connection
#include <libssh2.h> LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
listener is a forwarding listener instance as returned by libssh2_channel_forward_listen_ex(3).
A newly allocated channel instance or NULL on failure.
LIBSSH2_ERROR_EAGAIN - Marked for non-blocking I/O but the call would block.
libssh2_channel_forward_listen_ex(3)