Thomas Stover wrote: [good explanation] > That being said, just setting something to non-blocking is not the > same thing as asynchronous IO. Asynchronous IO is not portable and > also not always necessary.
I agree - it's a very different topic. Windows strongly prefers async io for high throughput, and *ix kind of has it, sometimes, but the motivation for using aio_*() is far smaller on *ix than overlapped IO on Windows. > On the other hand, in my experience blocking with select(), is > essentially the same thing as non blocking with select(). Right, which is why I'm asking this question. When thinking about it a bit, I can't see a compelling argument for combining nbio with the use of select() - on the contrary it seems to require some tricky extra effort. > Now in some circles (Java, windows, etc) the terms non-blocking and > asynchronous are used differently than in posix sockets. If I am > confused, I would love to informed. My experience matches yours pretty well. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
