Re: win32 tunneling

2009-05-13 Thread Peter Stuge
To conclude the discussion on IRC: Roman Kubiak wrote: > 6. for each new connection on my server socket i start a dataPipe, > that has the connected client socket and the sshChannel, and a new ID > (for streams, in the ssh channel) This is a problem, each forwarded TCP connection requires a chann

Re: win32 tunneling

2009-05-13 Thread Roman Kubiak
Ok, first i need to know if i understand what i should do, here is what i do 1. start a connection using curl to my ssh host, and use curl_getopt() to get the socket 2. use the socket from curl to start a session using libssh2 3. authorize using libssh2 4. start a channel like so: sshChannel = lib

Re: win32 tunneling

2009-05-13 Thread Daniel Stenberg
On Wed, 13 May 2009, Roman Kubiak wrote: > I saw many issues with the windows support for libssh2_channel_direct_tcpip > calls. I downloaded the latest CVS and can't get any decent results, has > this issue been fixed and i should look at my code, or is this still > pending? I don't know. I wo

win32 tunneling

2009-05-13 Thread Roman Kubiak
I saw many issues with the windows support for libssh2_channel_direct_tcpip calls. I downloaded the latest CVS and can't get any decent results, has this issue been fixed and i should look at my code, or is this still pending? regards --- Voltage Controlled --

Re: Problem with large write buffer

2009-05-13 Thread Daniel Stenberg
On Tue, 12 May 2009, Daniele Pianu wrote: > I'm working on a strem library which implements various kind of streams. All > SSH based streams are implemented using your great libssh2 library ;) Now > I'm trying to implement the SFTP protocol, but I've some problem when > uploading large files. T