Hi...
I am facing problem in a code which i have written for sending the data using a serial port. I am using 56 kbps external modem for sending the data to the other machine using PSTN network. I am using async mode for data tranfer and the development is in SDK. The modem in this case is a standard Hey's modem.
I could able to send the data and receive the data....but the trouble is a loss of data. What is happening is that my application is running on the NT machine. If i run many applications on the same machine and try to receive the data send by other modem then i some times loose the bytes send by the other modem. I am handling the data byte by byte and my receiver[machine who is receiving the data by answering the ring request from other machines] did not satisfy the exit condition of an infinite loop which i wrote for continuously receiving the data....
I am using the non-overlapped mode and usind ReadFile and WriteFile function for reading and writting to/from port...
Please help....also is there any low level function to achieve the same ... i have done this with DOS using the interrupts and it was very fast as compared to the module developed using windows functoins..
Thanks in advance
Sanjay
I am facing problem in a code which i have written for sending the data using a serial port. I am using 56 kbps external modem for sending the data to the other machine using PSTN network. I am using async mode for data tranfer and the development is in SDK. The modem in this case is a standard Hey's modem.
I could able to send the data and receive the data....but the trouble is a loss of data. What is happening is that my application is running on the NT machine. If i run many applications on the same machine and try to receive the data send by other modem then i some times loose the bytes send by the other modem. I am handling the data byte by byte and my receiver[machine who is receiving the data by answering the ring request from other machines] did not satisfy the exit condition of an infinite loop which i wrote for continuously receiving the data....
I am using the non-overlapped mode and usind ReadFile and WriteFile function for reading and writting to/from port...
Please help....also is there any low level function to achieve the same ... i have done this with DOS using the interrupts and it was very fast as compared to the module developed using windows functoins..
Thanks in advance
Sanjay