Steven Ayre wrote:
> It seems the new idea is to do a select() or poll() on the socket,
> then do a nonblocking read of both stdout and stderr. Can someone
> clarify if that's correct please?
This is the only way it works yes. See example/direct_tcpip.c for an
example of how this can look. (This also considers another socket in
the same select() call.)
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-10-06