المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to read continous data from Serial Port



C++ Programming
05-24-2011, 11:51 PM
Hi,
I am able to write & read the data from serial port using buffer length pre specified. Is there any way by which I can read continous stream of data from serial port. I have tried to read the data from serial port using "ReadFile ()" in a while (1) {} loop. But my ReadFile () get blocking and I am not getting data after first read of buffer lenght is done.