Re: [libssh2] going non-blocking

2006-12-13 Thread Chris Nystrom
On 12/13/06, Daniel Stenberg <[EMAIL PROTECTED]> wrote: > > My goal with this whole non-blocking work is to allow an application to do > poll() (or equivalent) on the socket and then have it call libssh2 that would > deal with what it can deal with and return back without hanging waiting for > furt

[libssh2] going non-blocking

2006-12-13 Thread Daniel Stenberg
Hey I'm now starting to get somewhere with my rewrite of some libssh2 internals to start working in a non-blocking manner. Currently, I have changed how libssh2_packet_read() works and it now returns a libssh2packet_t type which can be: - a positive number like before meaning packet type since