-
Workerman onWorkerStart initialization redis connection question
this question encountered when using workerman s gateway framework Events.php
<?php
**
* This file is part of workerman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redist...
-
Why is the nginx proxy_pass instruction http protocol when using nginx proxy wss?
Program I have tested through the following is the configuration of nginx forwarding I don t understand
websocket service I opened a websocket service using gatewayworker
Why is http in forwarding
if I visit this address directly, he will promp...
-
How does workerman implement that once new data is added to a table in the mysql database, it will send the new data to the front end?
my requirement is that I use workerman to make long links between the front and back ends, and then once a table in mysql has new data, it will send the new data to the front end, and the data sent is an array. How should I implement it? If my descriptio...
-
Want to do this: the device connects to the server through tcp, and the framework uses worker or gateway
want to achieve: the device connects to the server through tcp, and the server processes it in real time and then forwards the message to a web page in real time (you can use websocket), framework to use worker or gateway, to ask for advice ...
-
After thinkphp5.1 workman starts the integration of webserver, and hprose, there is no content output.
The framework uses tp5.1,workman using the composer package officially provided by tp. Would like to ask if the integration of hprose?
the attempts made are as follows:
Controller (acts as client)
access to index did not get any return value, ...
-
How do timers in workerman call external api,
I separated mvc from workerman, on two servers. Now the task requirement is to regularly call the method encapsulated in mvc in the timer of workerman, how to achieve it, the method of using native php access interface has been reported errors, there is ...
-
Workerman retransmission problem
SOCKET
public function Connect($info)
{
$val=$info;
$w_file = .. config.txt ;
file_put_contents($w_file,$val,FILE_APPEND); W+
set_time_limit(0);
$host = self::TCP_SER_HOST;
$port = self::...
-
How does workerman specify that users send messages?
how can workerman, like gatewayworker, bind uid and client_id together to send messages to designated users, online, etc., and beg for help from bosses, so that good people can live a safe life! ...
-
The isUidOnline ($uid) of gatewayworker in workerman is not online.
question 1: worker, the device on my side has successfully logged in and bound uid,. When receiving heartbeat instructions, I made a judgment on whether uid is online, but when the device successfully logged in for the first time and sent a heartbeat, G...
-
I would like to ask GatewayWorker how to restart smoothly under windows.
problem description
in the development of the mobile client (H5 page), the access control device is controlled by the cloud server. The device communicates through the pure tcp protocol as the tcp client, and the tcp server is set up with GatewayWorke...
-
The workerman,php environment has been configured and started successfully. Why can't 127.0.0.1 8282 get in?
download the installation package on the workerman official website, then unzip it, configure the php environment, and then click "start_for_win.bat " to open it. However, I entered according to the address of 127.0.0.1 on the official website, but the ...
-
How to configure the port of gateway on Ali CVM
problem description
the server belongs to Aliyun, windows 2008 R2 system. There is a public IP and private IP, on Aliyun. How to configure IP? in the start_gateway.php file
the environmental background of the problems and what methods you have tried...
-
Workerman communicates with hardware, how to send more than 3 packets at regular intervals? Such as packet 1. The interval is 3 seconds, packet 2 is sent, and packet 3 is sent at an interval of 3 seconds.
three material packages should be sent at regular intervals
...
-
Web client webSocket and hardware Tcp connect to the same server, how to achieve web client smooth control of hardware devices?
to connect the hardware equipment of the Internet of things, the GatewayWorker, hardware I use to connect with the server through the tcp protocol to connect OK, through the port can successfully transmit data; the web client and the server can be conne...
-
Should workerman be running normally?
Why businessworker exits more times after kernel tuning. ...
-
How does gatewayWorker jump to open connections in the same window in a browser?
recently, I am doing a page version of the chat room. Every time the front end refreshes the page, I have to reconnect to the background. I feel that this is a waste of resources. I want to control the continuous connection when I jump under the same wi...
-
Adding scheduled tasks during onWorkerStart will cause register verification errors Register auth timeout
adding more than one hour of scheduled tasks to onWorkerStart in GatewayWorker businessworker will cause register verification errors to report pid:1 Register auth timeout (127.0.0.1). See http: wiki.workerman.net Error4 for detail error,
find the r...
-
Workerman multi-process cluster push cannot use Channel global broadcast after adding onWorkerStart callback
client sends messages that cannot be broadcast globally, but can be broadcast to the current user if I comment on onWorkerStart, I can broadcast globally if I don t comment on onWorkerStart, I can t broadcast globally, but I can reply to the current...
-
Workerman multi-process cluster push cannot use Channel global broadcast after adding onWorkerStart callback
client sends messages that cannot be broadcast globally, but can be broadcast to the current user if I comment on onWorkerStart, I can broadcast globally if I don t comment on onWorkerStart, I can t broadcast globally, but I can reply to the current...
-
What is the use of workerman's Text text protocol?
such as the title.
document here: http: doc.workerman.net appe...
what is the use of this agreement? Is used to test telnet?
...