lib60870 icon indicating copy to clipboard operation
lib60870 copied to clipboard

How to realize multi-threaded connection of master station to multiple slave station (server side)

Open wuxueTD opened this issue 1 year ago • 2 comments

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

wuxueTD avatar Aug 28 '24 02:08 wuxueTD

@mzillgith @ellepdesk @m-unkel @fedepell @pangweishen @lodup29 @gythialy @nowlar @PJungkamp @jude-adam Please reply, everyone. I'm in a hurry. Thank you

wuxueTD avatar Aug 29 '24 01:08 wuxueTD

The CS104_Connection object can only handle one connection. For multiple connections you have to use multiple CS104_Connection objects.

mzillgith avatar Sep 02 '24 15:09 mzillgith