DEV Community

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

I don't have a tutorial handy, but if you at the video at 4:45, where he's setting up the initial socketio connection, this is what you would be updating.

Each io object represents an open socket connection with a server.

You would need to create one of these for each unique user who connects to your service. You would then connect independently to each socket server you set up, which would only have up to one other person in it.