libssh2_channel_forward_accept(3)
accept a queued connection
SYNOPSIS
#include <libssh2.h>
LIBSSH2_CHANNEL *
libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);
RETURN VALUE
A newly allocated channel instance or NULL on failure.
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.