workerman发送数据大于8192,出错

发送小于8192的数据,没有问题。 当数据大于8192,通过回调继续发送,但是在添加回调时,会出现PHP Warning,回调添加失败,造成后面的数据没有发送。 添加回调代码 Worker::$globalEvent->add($this->_socket, EventInterface::EV_WRITE, array($this, 'baseWrite')); 出现的PHP Warning Warni...

ocean 发表与 2019-01-13 2105 浏览 2 回答

ocean

44
积分
0
获赞数
0
粉丝数
2019-01-13 加入
🔝