🕹 MQTT Protocol Analysis and Coroutine Client for PHP. Support for 3.1, 3.1.1 and 5.0 versions of the MQTT protocol.
Home Page:https://mqtt.simps.io
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
vssir opened this issue a year ago · comments
这个异常问题出现的概率还是有点高。 unpack 函数输入字符串长度至少2位或以上,当少于2位就会报错。
用debug工具把包打出来看下,你这个可能是数据格式的问题,或者协议等级不是v3
DEBUG定位到是这里
tcpdump把你收到的包提上来