Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [socket.io]

The tag has no usage guidance.

-1
votes
1answer
45 views

NodeJS SocketIO Multiplayer Multiple Game Room Management

I am making a multiplayer card game and am using NodeJS as my server with SocketIO. My question is how should I be managing multiple game rooms (say an n number of game rooms) ? Currently I have it ...
0
votes
1answer
82 views

Do TCP Sockets need validity/security checks?

I am currently building a distributed system that consists of two separated nodes, connected over wireless Lan. The processes communicate over a bidirectional TCP Socket and JSON messages. For the ...
0
votes
0answers
15 views

Route requests based on path url to the same server which uses web sockets when implementing a load balancer

I have an online whiteboard where users connect to the same room depending on the last part of the url where the room name is present. The urls are dynamic and is created per new room. Eg: https://......
0
votes
1answer
108 views

Am I using Socket.io wrongly? Or use REST instead?

In client: function test(){ const socket = io.connect(SERVER URL) socket.emit('read_user_name', '1') //user name id: 1 socket.on('returned_user_name', (data) => { console.log(data) ...
0
votes
0answers
592 views

Sending push notifications to android by nodejs server

I am having the requirement in my project, that nodejs server has to send the notification (kind of push notification) to our mobile, and user( or mobile holder ) have to act on that notification like ...
-4
votes
1answer
160 views

Performance comparison of Legacy VB6 Software vs Node.js and React.js

My company just started a new production management software by using serial communication to scales. My company has already developed the software using VB6 in 2006 and keep using that outdated ...
1
vote
0answers
390 views

Are AJAX calls fully replaceable by requests sent via WebSockets?

I am redeveloping an application with the aim of going along with the more modern techniques. That is how I came across Socket.io, which I integrated with express.js. I implemented live searching ...
5
votes
2answers
8k views

What is the point of rooms in socket.io?

I was wondering what the purpose of rooms is. See: https://socket.io/docs/rooms-and-namespaces/ You can basically mimic join and leave with just socket.on and socket.off Take for example: (no room) ...