Subject: Re: Direct tcp ip channel - session handshake

Re: Direct tcp ip channel - session handshake

From: Jiri <>
Date: Sun, 23 Sep 2012 14:43:33 +0200

> 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.

Received on 2012-09-23