> What is your question exactly?
My goal is to connect to the PublicHost and from there to the InternalHost - thus creating a connection to the host in a local network while working with it as during the connection to a public server. I have created a connection to the PublicHost, there listensocket (set to a non-blocking mode) and direct tcp channel were established. Then I create connection to the "localhost" with a redirected port - socket is created as well as the session but the program stops during handshake. I would like to know if there is any general procedure of how to achieve this using libssh2.
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel