in reply to Re: io::select bogs cpu on disconnect
in thread io::select bogs cpu on disconnect

Gbarr,

Thank you I owe you my sanity. I was only trapping the writes; not the reads. One simple line at your suggestion:
if (!$nread) { $sel->remove($client); }
did the trick.

Again, thanks!

Alex

PS - This is my first visit here, and it is like the holy grail I've been searching for.... You guys are great.