Query: libssh2_channel_forward_accept
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
libssh2_channel_forward_accept(3) libssh2 manual libssh2_channel_forward_accept(3)NAMElibssh2_channel_forward_accept - accept a queued connectionSYNOPSIS#include <libssh2.h> LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *listener);DESCRIPTIONlistener is a forwarding listener instance as returned by libssh2_channel_forward_listen_ex(3).RETURN VALUEA newly allocated channel instance or NULL on failure.ERRORSWhen this function returns NULL use libssh2_session_last_errno(3) to extract the error code. If that code is LIBSSH2_ERROR_EAGAIN, the ses- sion is set to do non-blocking I/O but the call would block.SEE ALSOlibssh2_channel_forward_listen_ex(3) libssh2 0.15 1 Jun 2007 libssh2_channel_forward_accept(3)