libssh2_channel_forward_accept

Langue: en

Version: 1 Jun 2007 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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)