[comp.windows.ms] Carriar Detect using Windows COMM functions

kenm@sidd.SanDiego.NCR.COM (Ken Mori) (08/16/89)

We are migrating terminal emulator for the Microsoft Windows environment.
There does not seem to be an easy way to check for carrier (CD) using the
provided windows functions. We are currently looking at setting the
RlsTimeout in the DCB structure to something other than zero so that the
next character that is transmitted will produce a timeout error waiting
for carrier. This forces us to send a character to a remote device just
to establish whether the device is really there. We are concerned about
sending possible "garbage" just to make this test.  RlsTimeout is normally
set to zero so that the modem can dial the phone.

Does anyone know of a better way?

Thank you in advance.