Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
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.
Thanks a ton but a tutorial for a chat like this where everyone can message me and I can message everyone, however, they cannot message each other or read each others message would be very helpful. Could you please find such a tutorial? I googled but could not find any myself
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks. Could you link a tutorial like for like this kind of chat (support chat)?
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
ioobject 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.
Thanks a ton but a tutorial for a chat like this where everyone can message me and I can message everyone, however, they cannot message each other or read each others message would be very helpful. Could you please find such a tutorial? I googled but could not find any myself