Skip to content
New issue

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

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

Already on GitHub? # to your account

Why a socket is needed for each namespaces? #526

Closed
wrongharry opened this issue Sep 16, 2011 · 0 comments
Closed

Why a socket is needed for each namespaces? #526

wrongharry opened this issue Sep 16, 2011 · 0 comments

Comments

@wrongharry
Copy link

In https://github.com/LearnBoost/socket.io/blob/master/lib/manager.js from L642-L650

A socket is prepared for each namespaces, may I know why it is needed?

Suppose a socket is need when the client is on that channel.

For example, if there are five channels, if client1 only join the first channel, he/she will only need to in channel1 right, but now he/she is in all five channels, is it too much?

This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant