Questions tagged as 'websocket'

1
answer

Livestreaming with javascript

I am developing a Livestreaming project and would like to know if it is possible to do this using websockets , javascript and html5 video capture where you would have a webpage which would capture the webcam video (with ht...
asked by 17.06.2015 / 16:36
2
answers

Working with websockets

I'm trying to use WebSockets in PHP and Javascript and I'm confused, it uses the ws: // and wss: // protocol and the hostgator ) do not have these protocols enabled (I think!) and I can not connect, does anyone know if I need to enable these...
asked by 05.06.2014 / 21:39
1
answer

Real time with PHP

I am developing a system and soon I will have to start the part of interactions in real time (for notifications and chat). I am using jQuery , PHP and MySQL so far and I intend to continue with these technologies. I have a...
asked by 15.05.2015 / 22:02
1
answer

What does handshake mean?

While studying about WebSocket , I read the following sentence:    Your only relationship to HTTP is that your handshake is interpreted by HTTP servers as an upgrade request. In this context, what does handshake mean? In practice, w...
asked by 31.01.2017 / 15:25
1
answer

CORS can be configured for Websocket?

I have an application that needs to communicate via WebSocket with two servers each in its own independent domain. Is it possible to configure CORS to allow this dual and simultaneous communication?     
asked by 25.02.2014 / 01:28
4
answers

How to check if the user is online?

I'm developing a project in PHP and using MySQL as a database. I only have one question about how to chat: How to know which users are online right now?     
asked by 17.03.2014 / 18:08
4
answers

Is it possible to do client-server communication in real time via HTTP?

TCP sockets I can put a server application in listening and make clients connect and wait for requests on both the server and the client, having the possibility of the server sending information for ALL clients connected without any request f...
asked by 12.03.2014 / 19:56
1
answer

How to check if the message was delivered, websocket php

How can I check if a message that is sent by the WEBSOCKETS Server has been delivered to the endpoint? Use this class: link     
asked by 10.03.2015 / 00:00
2
answers

How to check real-time change in database with php websocket?

I want to update a div only when there is a change in a certain field in the database, I am currently using polling, but I want to switch to websocket for performance issues, but I only find examples of chats, and it's not what I need. Does any...
asked by 29.03.2017 / 17:55
3
answers

Deploy queues for WebSocket

I am developing a WebSocket server that will control multi client connections, it will basically work as a chat, it will be a kind of multiplayer game , after many searches and some tests I realized that when using Socket for mess...
asked by 03.04.2014 / 15:31