how to handle serial port connection /disconnection and reconnection in C#?
I am using a null modem, from COM3 and null modem i am sending some command to simulated device in COM4 which accepts those commands.
How to handle scenario in my application connected to COM3 , if my simulated device has been closed in Com4 and again reopened at the same port?