With the advent of Websockets in browsers, I was also interested in doing some implementations in some applications. Of course with the idea comes the initial doubts.
One of the doubts that have arisen for me is about Apache. Traditionally...
Good morning, I have a system that uses a chat created by me and its communication by socket , all in php .
The issue is that I asked hostgator to install SSL on the domain, it was installed and it works normally, bu...
I'm doing a project that involves connecting to an ESP8266 via websockets , but since ip of ESP is not static, you need to manually connect to the IP . But in the code below when I put connection methods inside a function, the...
Friends, is there any simple script in php (or some other solution for linux php / mysql server) to know how many users are online on the site? I read that websocket is good for chats. In my case, it's not chat or anything complex is not. Just k...
What do I need? I need when a user in the frontend sends a message to the system and the dashboard backend receives a real-time notification that the message has just been created.
I'm doing this. In my controller in the store () method of the c...
I'm using this class to work with WebSockets in PHP next to HTML5 and I have two doubts about the connections.
How can I list all the active connections on that server?
How can I disconnect a connection only, for example, I'm in conne...
I use this code to connect to my server with WebSockets :
(function(nameSpace) {
function createMethod(method, options, stateCallback) {
var that = this;
this[method] = function() {
if (stateCallback && stateCallback.a...
As the title itself already says, I need to create a live streaming of a video from the server, or from youtube or something like that, can anyone give me a hint how can I start?
I searched a lot, and everywhere I looked I only found help / tuto...
I'm having a hard time killing the websocket that runs within my application in java, I can not find answers anywhere.
I need this, because I'm using it with a chrome extension to fill a website's forms, but when I refresh the page or close...
Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. (index): 29 (anonymous function)
Code:
function smConnect() {
ws = new WebSocket('ws://127.0.0.1:1805/');
delete ws.URL;
ws.onop...