Skip to content

Introducing Socket.IO P2P, the easiest way to establish a bidirectional events channel between two peers with a server fallback

Updated: at 10:13 PM

Socket.IO takes the plunge into WebRTC: peer-to-peer web here we come!

Socket.IO P2P provides an easy and reliable way to setup a WebRTC connection between peers and communicate using the socket.io-protocol.

Socket.IO is used to transport signaling data and as a fallback for clients where the WebRTC PeerConnection is not supported. Adding a simple piece of middleware to your socket.io setup enables this - no need to hand roll your own signaling exchange or set up, deploy and scale new servers.

Walk through building a simple chat app at socket.io