Answer the question
In order to leave comments, you need to log in
What to use to connect two players?
I am writing an online game, I think what to use to connect two players on the Node.JS server (The model is the simplest - data comes from one player, you need to forward it to another).
The first and, so far, the only thought was the use of sockets. For example, socket.io (Which has a mechanism for separating connections into different namespaces and separate rooms). Did I make the right choice, or is there something more convenient?
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