On Saturday 19 of September 2009 21:02:59 Peter Stuge wrote: > I have always understood select(2) (and later select_tut(2)) such > that if select() returns without error and FD_ISSET(socket,set) then > the corresponding io operation on socket can reliably be assumed to > not block, also when socket is in blocking mode.
I am not sure if such assumption holds in general. > Daniel says that the io operation can in fact block anyway, when the > socket is in blocking mode. Can you reference any specification saying otherwise? > To me, this would seem to make select() useless for blocking io, > which I find quite surprising. I don't think so. We only need to analyse its fitness for a particular purpose. Kamil _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
