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.

0
votes
1answer
107 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
228 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 ...
-5
votes
1answer
152 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
367 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 ...
4
votes
2answers
7k 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) ...