How can I implement simple serverless p2p browser to browser messaging with minimal overhead?

后端 未结 2 730
傲寒
傲寒 2021-01-31 10:16

I\'m trying to create some basic implementations of simple games (tic tac toe is the starting project) which can be played over the internet without requiring a central server.

2条回答
  •  天涯浪人
    2021-01-31 10:44

    After pubnub was recommended, I looked there and was partially impressed. However, I eventually stumbled across exactly what I was looking for UNBELIEVABLY. RTCDataChannel is the answer. This site finally showed that what I want is possible. The browser support for this functionality is small but growing and the entire ordeal has strengthened my faith in the growing support for peer to peer applications in the browser community.

提交回复
热议问题