Re: Use tcdrain() instead of tcflush() to implement FlushFileBuffers() for a COM port.