Does anyone know how to flush/clear a locked comm port? Occasionally, within my application which creates a DUN connection, the comm will lock; i.e. the TX light will get stuck on.
The only way I've found so far to clear the modem is to reboot the machine, but I'm sure there is a tidy little API call somewhere that will do the trick.
Any suggestions?
"The most beautiful experience we can have is the mysterious ; it is the fundamental emotion which stands at the cradle of true art and true science." - Albert Einstein