Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wuxueTD opened this issue Aug 28, 2024 · 2 comments

Comments

@wuxueTD
Copy link

wuxueTD commented Aug 28, 2024

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
Copy link
Author

wuxueTD commented Aug 29, 2024

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

@mzillgith
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants