Hello,
I was trying to make Meteor and Socket.io work since I need to use Socket.io as signaling server for WebRTC app.
With Meteor 1.3, would you know how I can convert this line (server-side Socket.io)?
var io = require('socket.io')(80);
Thanks
Hello,
I was trying to make Meteor and Socket.io work since I need to use Socket.io as signaling server for WebRTC app.
With Meteor 1.3, would you know how I can convert this line (server-side Socket.io)?
var io = require('socket.io')(80);
Thanks
Hello akryum,
Thanks so much for this especially the server-side way of doing it. I had the same workaround for the client side.
I wonder, will the PORT variable not have any issues when deployed? Is there a reason why it’s 8080 instead of 3000?
Maybe it can be like
const PORT = process.env.PORT || 8080
Anyways, I’ll check when I got home