please help me urgently.
I am doing the COM port programming the first time, I had got some articles with example coding for web e.g. codeguru. but I still don't understand completely about data receiveing.
I am doing the test program in order to understand the com port communication. the program including 2 modules, one is to send data, the other is to recieve data.
my program is :
even I make the receive buffer much longer than the length of sent message, I always receive data piece by piece (e.g, I send 28 bytes data, the data recieved is always 8 byte, 8 byte ....).
Is com port transferring data like this way? what should I do so that I can get the whole piece message at one time. please kindly give me any idea, example coding will be very appreciated. thank you very much!