-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
I have been using this library for server to client communication , works perfectly fine.
Now I need P2P messaging for faster communication between peers and found supported server and web code samples for same.
https://socket.io/blog/socket-io-p2p/
var P2P = require('socket.io-p2p');
var io = require('socket.io-client');
var socket = io();
var p2p = new P2P(socket);
p2p.on('peer-msg', function (data) {
console.log('From a peer %s', data);
});
I just need P2P message receive support for now. how can I achieve with this library?
Metadata
Metadata
Assignees
Labels
No labels