Questions tagged as 'socket.io'

0
answers

Socket.io-Stream does not issue events

I have a client application that sends files through the socket to my server, these files arrive as stream through Socket.io-stream, and I write them to the disk without any problem everything was fine, until I have to perform a treatment in eac...
asked by 27.09.2016 / 18:19
0
answers

ERR_SSL_PROTOCOL_ERROR - Socket.io and Node.js

I'm running a Node.js server using Socket.io to manage connections via Socket, however, I'm having a problem with SSL certificates. Most users can access the Node.js server normally, but others can not and do not get the following error:...
asked by 29.08.2016 / 20:48
0
answers

How to send messages using Angular and socket.io?

I followed the steps in this video and I was able to make a web app for sending messages. Now, I'm trying to implement these codes in my messaging app on Ionic. But when trying to send a message, this warning appears in looping on the chrome c...
asked by 13.10.2016 / 20:58
1
answer

Configure Nginx for multiple Socket.IO servers

The idea here is to decentralize, do a load balancing . In the following scenario: .1 a website serving multiple subdomains with Nginx .2 two or more servers nodejs running socket.io My need with nodejs i...
asked by 07.09.2016 / 11:22
1
answer

Socket.io chat, defining url

I would like a help with chat using socket.io, I would like to set a URL, I can not, I can only access through localhost: 3000. For example, I wanted the chat to be on the home page of my site example: siteexample.com, how do I define this? h...
asked by 09.06.2016 / 13:21
0
answers

Socket.io acknowledgment from client to server

I know that you can use callback functions in socket.io, an example is found in the link link EXAMPLE Customer socket.emit('ferret', 'tobi', function (data) { console.log(data); }); Server socket.on('ferret', function (name,...
asked by 29.04.2015 / 16:49
0
answers

Audio Stream (WebRadio)

Good afternoon. Sorry for my ignorance, but how do I create a web radio (quite roughly, just for study purposes)? My project is as follows: I have a site that plays the audio and whoever accesses the site hears this audio. I have to use...
asked by 04.05.2015 / 19:27
0
answers

How to create and connect users in new rooms with soket.io

I'm using socket.io 1.3.5 and express 4.12.3 to create a chat application on my script php , but I do not know the logic of creating a new room when one user calls another. In kids: I know how to create a room for each user a...
asked by 19.05.2015 / 17:53
1
answer

Push Notification with Socket.io

I made a small application with node + socket.io to send notification. by adding the code below on the client page, the notification is displayed in the "messagebox" div. <script src="http://code.jquery.com/jquery-1.7.1.min.js"></scri...
asked by 30.05.2018 / 14:26
1
answer

Nodejs - socket.io and jquery

Good afternoon I'm following the socket.io start tutorial and it's all working, but I do not understand why jquery only works if calling the script in html I tried to install by npm and it does not work (the message does not log in) I...
asked by 02.07.2018 / 17:40