diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-17 01:02:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-02-17 01:02:17 +0000 |
commit | 83379a56bcf820a1b7b9974ec89c59915f1816d8 (patch) | |
tree | db2393337b28f0d06437fd2da365060a11a2e112 /ace/TTY_IO.cpp | |
parent | c685695d30d92cc376ab180641e5faf73cd2b8c1 (diff) | |
download | ATCD-83379a56bcf820a1b7b9974ec89c59915f1816d8.tar.gz |
foo
Diffstat (limited to 'ace/TTY_IO.cpp')
-rw-r--r-- | ace/TTY_IO.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/TTY_IO.cpp b/ace/TTY_IO.cpp index b0a2f3ec20b..c2cb94dcfcb 100644 --- a/ace/TTY_IO.cpp +++ b/ace/TTY_IO.cpp @@ -193,7 +193,13 @@ ACE_TTY_IO::control (Control_Mode cmd, dcb.fRtsControl = RTS_CONTROL_DISABLE ; } dcb.fBinary = TRUE ; - return ::SetCommState (this->get_handle (), &dcb); + ::SetCommState (this->get_handle (), &dcb); + + // 2/13/97 BWF added drop out timer + COMMTIMEOUTS timeouts; + ::GetCommTimeouts (this->get_handle(), &timeouts) ; + timeouts.ReadIntervalTimeout = arg->readtimeoutmsec ; + return ::SetCommTimeouts (this->get_handle (), &timeouts) ; case GETPARAMS: ACE_NOTSUP_RETURN (-1); // Not yet implemented. |