I have written a library which connects to an opc server and creates subscriptions to get notified about data changes. There is also an event which get fired when the opc server is going to shutdown. I am using the OPC .NET API and C#.
How can I handle a connection abort due to a network failure (server crashes, cable gets unplugged)?