My two applications are communicating with each other by "open application reference".
If one of two applications is stopped after establishing the network connection, the connection is invalid and an user should connect the network in both "two" applications again.
How can I check if the validity of connection is okay in real time in both applications?