Questions tagged as 'socket.io'

1
answer

How to fix charset="UTF-8" in application nodejs inside socket.io

I have a chat app and am working with nodejs and socket.io . But I'm having trouble coding names. The following name: Guilherme Loução is coming as: Guilherme Louçço . I already saved the file in UTF-8 format and it did not work....
asked by 07.06.2017 / 16:33
1
answer

Send and Receive packets in NodeJS

Well, I'll try to explain the situation: I'm studying NodeJS and for that I decided to rewrite the server-side code of an application that was originally written in C / C ++, and that server receives packets in hexadecimal from the client app...
asked by 03.09.2016 / 07:07
1
answer

can not GET / chat socket.io

I'm trying to start the socket.io service, but the error appears Can not GET / My server.js is like this var socket = require( './node_modules/socket.io' ); var express = require('./node_modules/express'); var app = express(); var serv...
asked by 03.06.2016 / 13:28
1
answer

accessing apps on heroku giving error

I'm trying to install an app in heroku but I'm not getting it, so I can not see the status of my apps. My apps is a server in node.js and socket.io in heroku. There's a deploy option for the site that connects to git hub up so quiet but when I t...
asked by 16.06.2015 / 05:18
0
answers

Host application node.js socket.io in heroku

I have a socket.io application in github and I need to run it on reroku but I'm not having success with the tests with other servers, but the index of the other was with the app so if you want to take a look in the code or even here is the link...
asked by 22.11.2018 / 16:37
1
answer

How to update the amount of messages with socket.io in an Ionic3 Angular app for a particular endpoint?

I want to implement an icon in a view that brings the amount of messages that a user has in his box, however, updating the quantity information must occur in real time according to the model below Facebook: I have an endpoint of an API...
asked by 20.09.2018 / 17:18
0
answers

Angular SocketIo - Does not give error, but does not work

Good night, I'm trying to get the data in realtime with socketIO, but it does not work. Via console is sending and sending from the backend, but I can not show in the frontend nor does it show any information receiving data. tickets:any[]...
asked by 11.09.2018 / 04:14
0
answers

soket.io - doubt

I'm new to using soket.io and I'm learning how to create a server, but I'm not able to print the message, can someone help me? server.js var fs = require('fs') var http = require('http').createServer(handler) var io = require('socket.io')(h...
asked by 23.07.2018 / 22:33
0
answers

Socket.IO Problem after an active time

Hello, first of all I apologize for the code, I am giving maintenance and as soon as I can solve this problem I will work on it better with OO, MVC etc. My problem is, I'm creating an auction room where everyone in it can bid, it's already wo...
asked by 14.06.2018 / 03:25
0
answers

Doubt with socket.emit

I have the following code in a small notification application that I'm doing. var express = require('express') , app = express() , server = require('http').createServer(app).listen(4555) , io = require('socket.io').listen(server) , bodyParser...
asked by 30.05.2018 / 19:55