Asynchronous Serial Port Communication
-
Can any one tell me that ..How to do Asynchronous Data Transfer through Serial Port. Event based Serial communication,,,that means when any data come from serial port then,the particular function need to be called!!!! the program does not wait long time for any data coming from Serial port. Somebody suggested use callback functions!!!!!!but how????? thanks in advance..
-
Can any one tell me that ..How to do Asynchronous Data Transfer through Serial Port. Event based Serial communication,,,that means when any data come from serial port then,the particular function need to be called!!!! the program does not wait long time for any data coming from Serial port. Somebody suggested use callback functions!!!!!!but how????? thanks in advance..
I should be done using Overlapped IO optionally using IO completion routines. [Synchronization and Overlapped Input and Output^] I did a quick CP search got this, may be useful for reference how to use overlapped serial communication [CSerialPort v1.03 - Serial Port Wrapper^]