i got class that handle a server, i call it the "bigServer" which all my players - clients,
log into, to get personal stats, other players stats, chats etc etc etc.
i got another server, which is the game it self, when you open a room, a sub server is open, from the bigServer class.
my question is simple because i can't figer it out.
if i got connection, and i want to move it to another server of my, which is in the same class - how do i do it?
because i dont want my clients to connect 2 servers, i want only that the subserver will get few connection - that they already loginto
and not every client in the bigServer.
i got 10 players online in the big server.
2- a client and b client, wanna play.
a client open a room which is in my coding, new server, that handle only the room - the game it self.
all of this is open throw linked roomServers, meaning i can have 4 rooms - 4 subServers.
i want, only the way, that i can take client a, and client b, that loginto the first subServer,
which client a opened in my computer/server, move - temporly, or maybe, share-link
meaning my subServer will get a link to the connection.
this way, i can refer client a and b actions into the subserver and from the subServer, send both of them new actions.
hope i can use ur knowlage to find a way, because i tryed my best but yet to figer out a way.