/ | Mailing list | Docs | Examples | GitHub
libssh2_channel_direct_tcpip

Name

libssh2_channel_direct_tcpip - convenience macro for libssh2_channel_direct_tcpip_ex 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.

Return value

See libssh2_channel_direct_tcpip_ex

Errors

See libssh2_channel_direct_tcpip_ex

See also

libssh2_channel_direct_tcpip_ex

This HTML page was made with roffit.