Daniel Stenberg wrote: >>> For example we can do multiple simultaneous transfers in the same >>> thread >> >> How is this different from when using blocking IO? >> select() still returns the status for all sockets in the sets, >> right? > > select() works the same, yes, but the underlying operations don't.
Sure, but why does that matter? fds that would block just shouldn't be processed at that time? > When working together with other stuff we want as little blocking > as possible since blocking on one socket means time wasted when it > could've operated on another socket. There should never be blocking. I guess that's what I'm asking - when would there be blocking? That's how I've always used select() - to find out exactly which fds I can actually operate on, _without_ having to block, and _without_ having to spin on the select() call. I think I'm missing something - right? Sorry. :\ //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
