DEV Community

[Comment from a deleted post]
Collapse
 
brandinchiu profile image
Brandin Chiu

The process is more or less the same as youve already seen above. The only major difference is that you need to manage many separate websocket servers instead of just generating one that everyone connects to.

Instead, every time one of your users connects, they get their own server. Your application keeps track of them, and then you can connect to each of them separately, but your users don't get exposed.