mz-automation / lib60870.NET

Official repository for lib60870.NET an implementation of the IEC 60870-5-101/104 protocols in C#
https://www.mz-automation.de/communication-protocols/iec-60870-5-101-104-c-net-source-code-library/
GNU General Public License v3.0
122 stars 74 forks source link

There is no method or property to check IEC104 Server is running or not #25

Open Tivaty opened 1 year ago

Tivaty commented 1 year ago

Hi, first, thank you for sharing the library, it is a great work.

But I can not find any public method or property to check status of IEC 104 server in namespace lib60870.CS104 public class Server : Slave

So there is no way to check it.

Can you update this source in new version? Thank you

juwiefer-btc commented 1 year ago

If you need a short-term solution, you might have a look at my fork: https://github.com/juwiefer-btc/lib60870.NET, which addresses particularly this problem. Please note that the server itself (the thread listening for new connections) and the established connections are somewhat independent from each other.

mzillgith commented 1 year ago

Thanks for your hint that such a function is missing.

I added CS104.Server.IsRunning method

Tivaty commented 1 year ago

@mzillgith Do you have any plan to release nuget package?