Workerman frame protocol issues

require_once __DIR__ . "/vendor/autoload.php";
use Workerman\Worker;
use Workerman\Lib\Timer;

$f_worker = new Worker("frame://0.0.0.0:1223");


$f_worker->onConnect = function ($connection){
echo "connection success\n";
};
$f_worker->onWorkerStart = function($tw){

};
$f_worker->onMessage = function($connection, $data){
var_dump($data);
$connection->send($data);
};

Worker::runAll();

this code, starting php run.php start, is normal
but telnet 127.0.0.1 1223
and then typing
will report an error

have you encountered such a problem?
how to solve this problem?

Mar.13,2021
Menu