> Well select told you there are data available, but you cannot read > them: something is going wrong. You do not want to trigger a busy > loop if this behaviour happens several times in a row, so you just > sleep a bit for things to calm down ;-) No. Read the code again. -- Juliusz