www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples
libssh2_channel_forward_accept

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)

This HTML page was made with roffit.

the libssh2 team