Lenix

Results 6 comments of Lenix

#### Lenix(北京) - [Github](https://github.com/w3yyb), [博客](http://blog.p2hp.com/) * :white_check_mark: [PHP中文站](http://www.p2hp.com/):最专业的PHP资源网站:PHP教程, PHP中文手册, PHP开发工具, PHP框架文档大全! - [更多介绍](https://www.p2hp.com/about.php)

PHP Notice: fwrite(): send of 2 bytes failed with errno=32 Broken pipe in /var/www/html/phalconapi/app/library/mqtt/SocketClient.php on line 166

code: $cpush = new MQTT('tcp://'.$config->host.':'.$config->port.'/', $pclientid); $context = stream_context_create(); $cpush->setSocketContext($context); $cpush->setVersion(MQTT::VERSION_3_1_1); $cpush->setKeepalive(60); $cpush->setConnectClean(true); $connected = $cpush->connect(); $cpush->setRetryTimeout(5); $myhandler = new \MyPublishHandler(); $pushed = $cpush->publish_async($json->Subject, $content, $config->qos, $config->retain,$msgid); $myhandler->waitQueue[$pushed['msgid']] = $pushed;...

and often throw new Exception('WTFFFFFF!!!! '); too. in MQTT.php 1285行.