What happens to data sent to a closed serial port?
Because serial communication ports are active only when the port is open (for example, by using CreateFile), data may be received and made available only when the port is open. Assume that any data received by a closed com port may be lost or corrupted.