![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/userdefault.png)
11/02/2016
![sp_UserOfflineSmall](https://opcfoundation.org/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
Hi All,
I am not sure, this is the right forum to ask this question.
I am using OPC UA SDK 1.1.320.
Using following APIs to create session and read node values
session = Session.Create(appConfig, configuredEP, true,appConfig.ApplicationName,5, null, null);
session.Read(null, 2, TimestampsToReturn.Neither,
readCollection, out results, out diagnosticInfos);
My problem is, it is not releasing the connections used by these code.
When we run netstat -no | FIND "62541", it is resulting multiple open(established) connections, which are not getting cleared over the period of time.
Please let me know if anybody has any solution for this.
Thanks for your time.
Regards,
Soorjith
![Avatar](https://opcfoundation.org/wp-content/uploads/sp-resources/forum-avatars/defaults/guestdefault.png)
OPC-F decided to make all OPC UA components available as open source. For .NET, see https://github.com/OPCFoundati.....n/UA-.NET/. You can look into the code to see what call to use to close a session and the underlying connection.
Also note, that OPC-F does not use the term "SDK" anymore (was always wrong) but just "sample libraries".
1 Guest(s)