Socket.io-p2p

- 1 min

This week I released socket.io-p2p under the socket.io banner. The announcement post can be found here.

Tl;dr

Socket.io-p2p provides the socket.io and protocol over a peer-to-peer WebRTC connection with a fallback to server-based communication when clients do not support WebRTC. The snake game on the home page of this blog uses the library to setup two-player games by pairing clients as they connect to the server and allowing them to practise the game while they wait for a partner to join.

Tom Cartwright

Tom Cartwright

rss facebook twitter github youtube mail spotify instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora