2 ms·
Use Websockets if it's just two people. edit: This is server-mediated. For true P2P you could use WebRTC.
by esafak 3y ago
Use Websockets if it's just two people.
edit: This is server-mediated. For true P2P you could use WebRTC.
- rgbrgb 3y agohow do you get websockets to work p2p? afaik websockets needs a dedicated server to relay messages.
- jcelerier 3y agoWebRTC will also require having TURN servers to relay messages if you want to be compatible with everyone on internet. True P2P is pretty much impossible in a way that works in 100% of the networks.