A set of compatibility flags that change the behavior of virtual serial ports to increase compatibility with legacy software.
| Symbol | Value | Description |
|---|---|---|
IgnoreInvalidSpecialChars | 1 | Virtual serial ports must silently ignore invalid special characters set by application. By default, when this compatibility flag is not set, virtual serial ports fail requests that attempt to set invalid combination of special characters, as required by specification. |
IgnoreTxClearPurgeFlag | 2 | Virtual serial devices will ignore serial purge requests with TXCLEAR flag. This prevents unwanted behavior if the request is erroneously sent by application while there is still data in transmit queue. Currently applies to local bridges only. |
ForceSynchronousWrite | 4 | Ensures that all write requests complete synchronously. This fixes broken legacy applications and libraries that issue asynchronous write requests but never wait for their completion, assuming they always complete synchronously. Notably, serial port implementation in VB6 runtime library has such erroneous behavior. |