Atri Sharma wrote: > the issue I am facing is that I need to detect that I have a > new incoming connection and then spawn a new thread for forwarding it > to the local port,right?
No. You should study basic single-threaded C programming using select() with multiple file descriptors. You don't need threads. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
