Serial Library, how to detect if a connection is closed

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi All

Is there a way of detecting when a serial connection has been closed. We have an app that received a serial connection. When the remote connection is closed, you can use HyperTerminal to test this, no event is generated, or a flag set. Currently we have a timeout, so if no data has been received over a period of time we closed the connection and start listening again.

Regards

John.
 
Top