> + struct timeval timeout; > + timeout.tv_sec = 0; > + timeout.tv_usec = 10000; > + > + select(0,0,0,0,&timeout); > + Doing a select on nothing strikes me as wrong. How is this code detecting that something is ``ready''? Andrew