Re: Problem with semantics?

2007-08-27 Thread Michael Kerrisk
Hi Andi, Andi Kleen wrote: > Shay Goikhman <[EMAIL PROTECTED]> writes: > >> Dear Linux maintainers, >> >> I'm doing : >> >> setsockopt(s, SO_RCVTIMEO, t1 ); // set time-out >> t1 on socket while block receiving on it >> select(,,, &fd_set_including(s), .., &errs, t2

Re: Problem with semantics?

2007-08-13 Thread Andi Kleen
Shay Goikhman <[EMAIL PROTECTED]> writes: > Dear Linux maintainers, > > I'm doing : > > setsockopt(s, SO_RCVTIMEO, t1 ); // set time-out > t1 on socket while block receiving on it > select(,,, &fd_set_including(s), .., &errs, t2); // block till > receive or ti

Problem with semantics?

2007-08-13 Thread Shay Goikhman
Dear Linux maintainers, I'm doing : setsockopt(s, SO_RCVTIMEO, t1 ); // set time-out t1 on socket while block receiving on it select(,,, &fd_set_including(s), .., &errs, t2); // block till receive or time-out t 2 jointly on a set of sockets Apparently, I co