Subject: forward_listen + forward_accept + channel_read problem

forward_listen + forward_accept + channel_read problem

From: Alexandr Piskun <>
Date: Wed, 18 Aug 2010 07:39:55 +0300

Good day. I have some problems when try to use libssh2 project.
I compiled direct_tcpip.c example - works great.
But i need forward tunnel.
So i decide to use libssh2_channel_forward_listen and
libssh2_channel_forward_accept functions.
But i cant read from channel that libssh2_channel_forward_accept functions
libssh2_channel_read blocks. Maybe that function didnt see inbound daya.(i
send data throw telnet).
And i easy can write data to telnet with help of libssh2_channel_write
function. But read fails, as i say.
Maybe i miss something.
Can u help me with my problem?

Received on 2010-08-18