You shouldn't use select with buffered reads, no - in that case, I'd stick with your solution, especially if you want to use explicit read timeouts.
My code was an example showing how you could avoid the use of select, if your circumstances permitted it - which it seems they don't :)
|Replies are listed 'Best First'.|
Re^6: select($rin,undef,undef,undef) only blocking once
by rabbit7 (Initiate) on Jul 27, 2005 at 11:13 UTC