>> You can check if there is output using NumBytesAvailable: Ok, This thing now works (I've also try this but I "accidentaly" checked NumBytesAvailable after read, it must be checked before read) Thanks, It works now !!!