I need to implement an application in c# which periodically sends commands over the serial-port (lets say every minute). There should nothing be received over the comport. For stability issues I'd like to know following.
Is it better to open the comport for every communication and close it again or to hold the serial-port open the whole time?
EDIT: Please consider also, that the communication partner could also send some data to my com-interface. I am not interested in this data, therefore I never read it. Could an overrun occur in the buffer of the com-interface and cause problems?