libssh2_channel_direct_tcpip - Man Page

convenience macro for libssh2_channel_direct_tcpip_ex(3) calls

Synopsis

#include <libssh2.h>

LIBSSH2_CHANNEL *
libssh2_channel_direct_tcpip(LIBSSH2_SESSION *session,
                             const char *host, int port);

Description

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_channel_direct_tcpip_ex(3).

Return Value

See libssh2_channel_direct_tcpip_ex(3)

Errors

See libssh2_channel_direct_tcpip_ex(3)

See Also

libssh2_channel_direct_tcpip_ex(3)

Referenced By

libssh2_channel_open_ex(3).

20 Feb 2010 libssh2 1.2.4