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 channel of it's own. For local forwards, the channel type should be "direct-tcpip" and libssh2 takes care of that when using libssh2_channel_direct_tcpip_ex(). > 7. all data comming from the socket are passed to the channel, and > all data from the channel to the socket, i use ssh2_poll As Daniel mentioned, better use plain select() because libssh2_poll() is deprecated. //Peter ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel