Questions tagged as 'websocket'

1
answer

Failed to connect WebSocket php - javascript

I am practicing webSocket and I try to connect php with javascript - html5 to be able to later make a chat, so I have the following in servidor.php . $host="127.0.0.1"; $port="3333"; $socket= socket_create(AF_INET,SO...
asked by 29.09.2018 / 23:28
1
answer

How to communicate with the WebSockets service

I have taken the example of Chat in Socketo.me. I have the chat-server.php : <?php use Ratchet\Server\IoServer; use Ratchet\Http\HttpServer; use Ratchet\WebSocket\WsServer; use MyApp\Chat; require dirname(__DIR__) . '/vendor/autoload....
asked by 11.04.2017 / 23:20
0
answers

How to avoid the error.code 1006 in WebSocket

On the client side, I have websocket configured with javascript. On the server side, I have websocket configured with java. The configuration is quite simple and works correctly. Once a day, randomly, the clients (javascript) begin to give th...
asked by 04.04.2017 / 21:32
3
answers

Send notifications when you insert to MySQL from Asterisk

I would like to know how to send a notification after having made an insert in MySQL. We have a system that uses Asterisk to register phone calls from our Call Center. The issue is that using Nodejs and Socketio we want to notify of the insert...
asked by 26.10.2016 / 17:12
1
answer

Error getting the name of the client PC from the server

That, it turns out that I have a problem in my production site, that when I publish my code, I get the following error:    System.Net.Sockets.SocketException: Unknown host The reason is because I am trying to get the name of the PC on a c...
asked by 20.12.2017 / 15:54
0
answers

Problem with mqttws31.js in Windows-mounted MQTT broker

I am working with MQTT communication for an IOT project. I installed a Mosquitto broker in Windows and everything works ok when I work among subscribers and publishers in Python or via command line between machines of the same local network. For...
asked by 29.10.2018 / 14:48
1
answer

How to use websocket server-server in node.js?

Hi, I am new to node and I was wondering how I can consume a websockets service from node, os server-server, the second is an external server here the link: link , Thank you very much community for your answers.     
asked by 25.02.2018 / 17:33
0
answers

How many processes does a multi-process webserver support?

I have a server that must respond to multiple PCs at the time, but some respond to others not. Sometimes an alert comes up with the phrase: "Bad Gateway". This led me to suppose that the server is not able to receive many requests, or is over...
asked by 20.01.2018 / 15:48
1
answer

How to communicate with the WebSockets service

I have taken the example of Chat in Socketo.me. I have the chat-server.php : <?php use Ratchet\Server\IoServer; use Ratchet\Http\HttpServer; use Ratchet\WebSocket\WsServer; use MyApp\Chat; require dirname(__DIR__) . '/vendor/autoload....
asked by 11.04.2017 / 23:20
2
answers

Send Scaned Image, Web Socket

My problem is when using the ws Web Socket protocol that sends a giant string (a size chain of about 7 to 8 digits ex: 78872125 ) which is an image that I scan and the I turn it into base 64 and then I'll commit it to bytes in ord...
asked by 16.08.2017 / 21:11