问题描述 自定义群组发送消息其他人收不到,但发送完之后服务器有日志记录,请问会是哪里的问题? 程序代码或配置 class MsgHandler_SayInClientGroup extends MsgHandlerBase{ public function processEvent(EventProxy $proxy,$client_id,$message_data) { ... ...
问题描述 https域名页面下ws连接不成功,访问https://sns.com:8081/site/room?id=8 出现错误:room?id=8:69 WebSocket connection to 'wss://10.12.28.187:7272/' failed: 程序代码 <script type="text/javascript" charset="utf-8"> var ws; func...
在一个Worker下执行异步调用tcp连接,但是触发不了onMessage,通信过程中能打印111111和333333,但打印不了222222。哪位大佬帮忙看看。谢谢! $connection_tcp = new AsyncTcpConnection('tcp://127.0.0.1:8888'); $connection_tcp->send("hello"); echo '111111'; $connecti...
MessageWorker的进程数是指为4,同一条redis数据就会被重复读取,有时候显示1条,有时候2条,3条。但把$worker->count改成1就只读1条了,不会重复。这是为什么呢?谢谢 $worker = new MessageWorker(); $worker->name = 'MessageWorker'; $worker->count = 4;...