I wanted to allow users to play p2p in the multiplayer game that I am developing, but in order to do this, javascript must be able to create a socket server in the browser. Is it possible? I do not know any API that allows clients to connect to other clients in javascript. Is there any other way? How to use hidden flash element?
I am asking for something that does not require a server at all. Packages must be transported from client to client directly.
user216441
source share