Questions tagged as 'websocket'

0
answers

How to identify the user in Ratchet PHP

I'm creating a multi-room chat with websockets, using PHP Ratchet. The framework itself facilitates the process of identifying the user, searching for their name through cookies, as can be seen here: link . > In my localhost, I can not get th...
asked by 29.03.2017 / 22:44
0
answers

Websocket and CakePHP

How to integrate Websocket into a CakePHP 1.2 system running on an Apache server with a PostgreSQL database? I need to do a chat, and all the conversations will be saved in this bank, separated by system users, like Facebook. The current c...
asked by 28.03.2017 / 16:58
0
answers

Socket X Android

I am doing socket study on Android (an chat with some more functions on other screens) but due to the little knowledge in moment I was 'caught' at one point. How can I create a single connection to the socket in app where I can use this...
asked by 22.12.2016 / 14:09
0
answers

SockJS WebSocket

I'm trying to use SockJS, and I put in the HEAD of my index <script src="//cdn.jsdelivr.net/sockjs/1/sockjs.min.js"></script> and javascript: var wsUrl = 'ws://' + window.location.host var ws = new WebSocket(wsUrl + '/aplic...
asked by 07.11.2016 / 18:44
0
answers

Change Request Headers for WS protocol

I have an Ionic app that uses a Ruby on Rails API. To authenticate, I'm using the Devise and tiddle gems where I step through the AngularJs interceptor X-USER-EMAIL > and X-USER-TOKEN in Request Header There is a part of the appl...
asked by 10.02.2016 / 17:43
0
answers

Multiple websocket connections

I have a script that makes 4 or 10 connections to a game after I click on the 'run bots' button, I tried to create a 'run bots2' button to create 4/10 more connections with the server but without closing the first but always the first ones are c...
asked by 03.12.2015 / 06:36
1
answer

WebSocket with PHP using IIS 8.0 server

Good morning. Next, I downloaded the following project as an example to create a WebSocket: link Testing on a machine with Linux operating system and Apache server worked correctly on the part where the server was started with the com...
asked by 03.09.2015 / 14:32
0
answers

real time application with php

I have the following problem I need to implement actions in real time in an application already developed using php running on iis. I have already managed to make my application communicate with an application in node.js (which could be react...
asked by 27.07.2015 / 00:49
0
answers

Authentication and authorization in WebSockets [closed]

Good afternoon, I was asked to build a Java application that communicates with a mobile application developed with hybrid technologies (HTML5, CSS3 and JavaScript), while researching the technology that would support my needs, I concluded which...
asked by 17.03.2015 / 17:21
0
answers

Save data by websocket [closed]

I'm developing a system using AngularJS and Websocket (PHP or NodeJS I'm still defining), where the form information I intend to save via socket, ie sending an array with the information and processing it to save to the database and returning th...
asked by 05.01.2015 / 17:46