Answer the question
In order to leave comments, you need to log in
Is it possible to create a separate Spring Socket for predefined people?
I'm developing an application that allows people the ability to create a room or join an existing one.
When a certain number of people are reached, all the people in the room must start playing together.
The server has Map<id, users>
, with the room id and the users in it, respectively (their WebSocketSession is stored in the user).
1) Is it possible to create a separate socket for this group of people when filling the room to the maximum in Spring Framework?
2) Is there a difference between creating a separate socket for each group of people and creating a general socket that will handle all groups at once?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question