We have developed access control system where central controller is collecting data fro readers and communicates to server as & when data arrives at reader.
To communicate data to server we are using Digi Connect ME modules to transmit data over TCP/IP network.
Server application is developed in Visual Basic & We are using Winsock control to listen /connect with Digi Connect ME modules.
It works fine if Digi Connect ME is ON and network is OK,
:: Problem ::
If due to power failure Digi connect ME resets, existing connection with server application gets closed & server is not notified in any way this connection is lost
And server is not able to receive data on already open port, unless server application is closed & opened again to re-establish connection.
As server is ideally not monitored everday & should recover from such errors automatically I would like you to suggest any remedy we can use in our application...
1. either we get notification once digi connect ME restarts
2. server can know status of modules if they are connect & working OK
3. any other suitable methid that can help to recover.
LOOKING FORWARD TO YOUR REPLY
- Mohan, Bangalore-India