Find answers, ask questions, and connect with our
community around the world.

Activity Forums Web Design How to go about creating dynamic rooms in socket.io?

  • How to go about creating dynamic rooms in socket.io?

    updated 2 weeks, 6 days ago 0 Member · 1 Post
  • Maverick

    Member
    October 25, 2019 at 9:04 pm

    I’m creating a dating app with chat functionality and I don’t know how to go about creating dynamic rooms for each conversation. I thought about using the two names of the two users in the chat like “soggypizzaandstraight” but the problem with that is that it would be opposite between the two users i.e. for soggypizza it would be “soggypizzaandstraight” but straight it would be “straightandsoggypizza” and I’m not sure what to do about it. Basically how would I go about naming the rooms so that it would be the same for both users? – by hq overview soggypizza1 – –

Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now