You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to open62541
Hello,
I'm trying to create a client daemon with the version 1.5.4 that uses a “select” loop to manage another communication library. My question is: How should I handle a short or long network outage?
Should I just delete the local subscription using `Client_Subscriptions_deleteSingle` and set the local subId to 0? And then re-register it when I restore the connection?
Do I need to set up all nodes again with `Client_MonitoredItems_createDataChanges_async`, or should I clean something up first?
And after calling `Client_MonitoredItems_createDataChanges_async`, do I need to call `UA_CreateMonitoredItemsRequest_clear(&request) + UA_free(contexts) + UA_free(callbacks)` to avoid memory leaks?