Questions tagged as 'socket.io'

0
answers

Node Js on my server

I want to mount on my server (cpnel is not shared) a small notification system in real time and I will use node js with socket.io , my question is what requirements should I have on my server or should I enable to work , what I do...
asked by 20.07.2018 / 02:04
0
answers

client does not receive data with websocket laravel echo and socket.io

I have set up a server with laravel-echo-server, redis and I have configured an event to be able to transmit it over websocket but it has not worked, the queue and the server transmit the data but I can not get them in the client. Conf. larav...
asked by 14.06.2018 / 04:24
0
answers

Answer from socket.io returns OBJECT OBJECT

I am creating a chat in php and nodejs using library socket.io the thing is that from my index.php I make a call ajax that inserts the data in the database and I return the answer through a array to ajax, then I send that...
asked by 24.05.2018 / 16:55
0
answers

Socket.io cleans the req.session session

I have an app that uses express, express-session, socket.io and socket.io.streams. The client connects to the server using:    socket.connect ('/ namespace') But when the connection is achieved, my req.session object remains empty. Does a...
asked by 19.05.2018 / 21:54
1
answer

Socket.io, Node, Corodva, can not receive a message from another client that is not the sender

I've been doing this for hours and I do not understand why it's not working for me, besides I've already done systems like chats and I never had a problem, this time is the first time I use Cordova and socket but I can not explain why it happens...
asked by 27.05.2018 / 22:46
0
answers

Socket IO option origins in App Phonegap

I have a question about the operation of SocketIo for node and an app created in Phonegap, the question is with respect to limiting access to sockets, according to official SocketIo documentation there is an option called "origins" that serves t...
asked by 06.04.2018 / 15:21
0
answers

Send events with SokcetIO and NodeJS

I have a / index path in which I have the following script socket.on('m',function(){ console.log('hola mundo') }) on the route / two I have $('#btn-send').click(function(){ socket.emit('hola') } both have the connect, and the...
asked by 21.11.2017 / 22:12
0
answers

Upload file via io.socket.request ()

I need to upload a file via io.socket.request (), via form and ajax I could already do the header of the form is: <form method="POST" action="/etc" enctype="multipart/form-data"> But with io.socket.request () nothing comes to my for...
asked by 16.08.2017 / 21:06
0
answers

Socket Disconnect background Appcelerator

I'm working on an android application with socket.io and appcelerator, but the problem I have is when the application is not visible on the device (in the background) and the socket is disconnected. I am delivering parameters when connecting the...
asked by 05.08.2017 / 21:47
2
answers

Using sockets to make data requests

I have a mental problem on this subject because I do not know about patterns or best practices that fulfill this task (please, enlighten me on this subject). My context is the following, using Sockets (concretely java.net.Socket and...
asked by 22.06.2017 / 19:14