Questions tagged [socket.io-client]

65 questions
0
votes
1 answer

Unknown connections socket.io

I'm playing around with React+Socket.io by creating a simple application with real-time value update with +/- buttons and I came across several problems. I just found out that my server has new connections with differend socket IDs every few…
0
votes
1 answer

Listening to sails socket in react

I'm trying to listen to changes from Sails socket in the front-end using react. Server listen to changes in a MongoDB Collection and blasts the changes: // Setting up connection to MongoDB const RTPEntryDB =…
SM1312
  • 516
  • 4
  • 13
-1
votes
1 answer

can we share screen through socket.io without select screen prompt

i want chose my screen and share it on socket.io server but without any select screen pop up form browser navigator.mediaDevices.getDisplayMedia({ video: true }).then((stream: MediaStream) => {
-1
votes
1 answer

How to set client-server interaction with Socket.io

Can anyone help me to figure out this code .I'm new to Socket.io I just wanted to see how actually client and server interacts. Code in Express.js is here : const express = require('express'); const router = express.Router(); const io =…
-2
votes
3 answers

Failed to resolve module specifier "socket.io-client". Relative references must start with either "/", "./", or "../"

I am creating a chat application using socket.io. I stuck into a error.if i removing the requiring socket.io-client the rest of the code running .but when i requiring the socket.io the it shows error "Uncaught TypeError: Failed to resolve module…
1 2 3 4
5