Closed vssir closed 1 year ago
这个异常问题出现的概率还是有点高。 unpack 函数输入字符串长度至少2位或以上,当少于2位就会报错。
用debug工具把包打出来看下,你这个可能是数据格式的问题,或者协议等级不是v3
DEBUG定位到是这里
tcpdump把你收到的包提上来
这个异常问题出现的概率还是有点高。 unpack 函数输入字符串长度至少2位或以上,当少于2位就会报错。