walkor

Results 250 comments of walkor

The default SSL handshake process in PHP is blocking, so we have disabled it and will attempt to enable SSL handshake with stream_socket_enable_crypto only when there is data available on...

I cannot tell you the exact reason. It is generally caused by business logic, and you need to troubleshoot it yourself. The troubleshooting method is to find suspicious code snippets,...

Just use `$connection->page;`

I'm not sure if all the drivers (event, Uv, revolt, swoole, etc.) support passing 0 as the timer value. If they do, Workerman should indeed support it as well.

Change ``` $inner_tcp_worker = new Worker("tcp://127.0.0.1:1234"); ``` to ``` $inner_tcp_worker = new Worker("text://127.0.0.1:1234"); ```

client codes ``` $localsocket = 'tcp://127.0.0.1:1234'; $user = 'tester01'; $message = 'test'; $instance = stream_socket_client($localsocket); $stdin = fopen('php://stdin', 'r'); while (true) { $message = trim(fgets($stdin)); fwrite($instance, json_encode(['user' => $user, 'message'...

If you want to use workerman as client , the codes like this. ```php

var_dump($statistics_file) and find the path then remove the file by manually.

Do you run `php start.php connections` every 10 seconds too?

Change ```php $ws_worker = new Worker('websocket://psql.site.ru, $context); ``` to ```php $ws_worker = new Worker('websocket://0.0.0.0:443, $context); ``` and try again.