lib60870
lib60870 copied to clipboard
How to realize multi-threaded connection of master station to multiple slave station (server side)
How to realize multi-threaded connection of master station to multiple slave station (server side):CS104_Connection as a global variable, thread safety problems occur when multiple slave stations are connected by multiple threads. Finally, only one slave station can be successfully connected
@mzillgith @ellepdesk @m-unkel @fedepell @pangweishen @lodup29 @gythialy @nowlar @PJungkamp @jude-adam Please reply, everyone. I'm in a hurry. Thank you
The CS104_Connection object can only handle one connection. For multiple connections you have to use multiple CS104_Connection objects.