I am writting an application that requires two computers to
communicate over the serial port.
I have two connected problems:
1 Any data left in the buffer for over 1 sec appears to be
discarded or hangs up the port even though I have the error
checking disabled.
2 The LOC or EOF funtions don't indicate any data in the buffer
so I have no way of determining if the port is hung.
Is there a another test to see if the port is active or if data is
in the buffer. Other than "closing" and "opening" the port, is
there another way to reset the port.
Thanks
Dan Symonds
------------------
communicate over the serial port.
I have two connected problems:
1 Any data left in the buffer for over 1 sec appears to be
discarded or hangs up the port even though I have the error
checking disabled.
2 The LOC or EOF funtions don't indicate any data in the buffer
so I have no way of determining if the port is hung.
Is there a another test to see if the port is active or if data is
in the buffer. Other than "closing" and "opening" the port, is
there another way to reset the port.
Thanks
Dan Symonds
------------------
Comment