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 handle multiple clients from server side ? #39

Closed
denden4444 opened this issue Oct 7, 2019 · 1 comment
Closed

How to handle multiple clients from server side ? #39

denden4444 opened this issue Oct 7, 2019 · 1 comment

Comments

@denden4444
Copy link

Hi Gil

Part of migrating my existing code to use your code involves handling multiple clients from the server side.

Is this possible and how do you handle this ?
Specifically :
How do you handle multiple clients and replies to each individual client ?
How do you identify each in turn and their specific data back and forth ?

Kind regards
Den

@gilmaimon
Copy link
Owner

Hi Den,

As Iv'e commented in another issue: it is possible and there is an example in the wiki:
https://github.com/gilmaimon/TinyWebsockets/wiki/Server#advanced-echo-server-can-handle-multiple-clients-at-the-same-time

Lets keep all the usage-questions in this thread: #35

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