Questions tagged as 'websocket'

1
answer

Softphone in JS. Telephony Server

I have a Fortics telephony server. I am currently dialing for a physical (or not) extension within Salesforce CRM through a GET service. However, we saw the need to keep the links inside the platform. There is software called Zoiper, wi...
asked by 27.02.2018 / 13:56
0
answers

Change user status when online with websockets (ratChet php)

I'm doing a chat using websockets with ratChet, and I have a question regarding the status of the user. I made the page load a list of all the contacts the user has, and when the server receives the connection from a user I do a search for th...
asked by 06.01.2018 / 13:08
0
answers

Error in connection establishment: net :: ERR_CONNECTION_TIMED_OUT

I'm trying to apply a connection with websockets, but when running, it gives the following error:    WebSocket connection to 'ws: //127.0.0.1: 8080 /'   failed: Error in connection establishment:   net :: ERR_CONNECTION_TIMED_OUT I have t...
asked by 12.01.2018 / 14:22
0
answers

WebSockets with ratChet php does not work

I am currently studying websockets, and while trying to follow several examples found on the internet and on the website of ratChet I simply can not run the server, the terminal looks like this: Here is the code for the example I used:...
asked by 05.01.2018 / 14:56
0
answers

Validation of form in real time with php?

Assuming I have a form with some fields, and one of these fields is a CPF field. <input name="cpf" data-input-mask="cpf" data-input-field="cpf" data-input-validator="cpf" value="" class="form-control...
asked by 16.08.2017 / 22:23
1
answer

web socket server only works with localhost

I'm setting up a chat where I have a client.php and a server.php. In the server.php code I define IP as 127.0.0.1 and Port 1900. When I change the IP to fixed IP or to hostname, the server.php can not start, it only works if I leave 127.0.0.1 or...
asked by 27.05.2017 / 16:23
1
answer

Convert binary extracted from .getUserMedia () to .mp4

I am saving the user's video and audio using .getUserMedia () in javascript and sending it to a websocket listening in C # (MVC). I leave below the path that the data makes until it reaches the server. In Javascript var chunks = []; var str...
asked by 10.03.2018 / 17:01
0
answers

How to create a socket in wildfly?

I need to create something that reads everything that arrives on a specific port and treat that information. An Ubuntu server with WildFly 10 running is used. The information passed is from the trackers (in this case it is Concox's CRX-1 and Sun...
asked by 08.02.2017 / 20:30
0
answers

Send message to client when there is change in system with Websocket Ratchet PHP?

Hello, I made a PHP WebSocket with Ratchet. The server.php is as follows: require "../vendor/autoload.php"; use Ratchet\Server\IoServer; use Ratchet\Http\HttpServer; use Ratchet\WebSocket\WsServer; use App\Chat; $server = IoServer::fa...
asked by 11.01.2017 / 23:02
0
answers

Is it possible to build realtime applications using "normal" hosting servers?

Well, I'm creating a mini forum, and I've come to the conclusion that the best way to build this forum is by using real-time applications. But for now, I host my site on a free server (like hostinger), and so far I've only heard of Node.js with...
asked by 20.11.2016 / 21:37