Questions tagged as 'socket.io'

0
answers

How to obtain data from the customer side with sockets?

Work with sockets now, as follows, I have a gps that is pointing to my server, at the moment I had to make my ip public and assigned a port where the data would arrive: Now on the server side with nodejs I have this: var express = require("exp...
asked by 22.08.2018 / 01:03
1
answer

Give each player a different color when they log in

I'm doing a project which consists of a multiplayer minigame with Node , Express and Socket.io in which each player has a different color assigned by the server when entering and players will see a table which players have to paint the cell...
asked by 16.04.2018 / 16:13
0
answers

Google maps Api in socket lo, limits

Well, I am developing an app that communicates through node.io of node to show the route between 2 points. For what I saw Google maps is free until the 2500 request of the service "directions", now my question is, since I will be using a sock...
asked by 12.04.2018 / 14:09
0
answers

Why is my socket paralyzed after loading a file?

Hi, I'm trying to make a socket that transfers files from the client to the server, it also makes queries to databases. I'm using threads but trying to load a file from the client to the server stays static and does not mark errors but do...
asked by 16.03.2018 / 16:29
0
answers

Live audio with Socket.io

I made an application to send live audio with Socket.io. The problem is that it only works between tabs in the same Chrome window. When I try to send or receive audio from another PC or even from another window, this error appears: GET blob:ht...
asked by 23.01.2018 / 18:06
0
answers

Node JS + MySQL

I took as skeleton the code generated by Express JS and everything works fine. The issue is that when I show my page ... / one, it shows me the right result but only for about 5 ms and the content disappears. Do you know why this happens? I woul...
asked by 22.03.2018 / 20:14
0
answers

virtual Host + socket.io Error 404 - Node.js

Hi, I have a problem and I have a connection to my server.js (I'm not in my local, localhost perfect function) I'm using node.js and use socket.io for the results of my requests, the detail is that on my local server I can not use localhost / an...
asked by 03.08.2017 / 00:02
0
answers

Show message sent by the server with SocketIO on android

I am trying to send a message from my server made in nodejs, when I start my server the message I show it in console but I want to know how I have that message displayed on my android smartphone this is what I have server: var array = {"...
asked by 28.04.2017 / 17:26
0
answers

Problem with socket.emit

I am developing a game with Unity3d and I am using node.js and socket.io I have 5 events of which 4 of them work perfect the problem is in the latter, in which I get the different rooms there, I do foreach of them and I assign more...
asked by 11.01.2017 / 22:32
1
answer

What is this error that I get when I use socket.io?

I have created a API that uses socket.io : const socketIo = require('socket.io'); const serverHttps = https.createServer(httpsOptions, app).listen(httpsPort, () => { console.log('HTTPS: Server running at ' + httpsPort)}); c...
asked by 21.03.2018 / 19:08