+ -
当前位置:首页 → 问答吧 → AThread.Connection.ReadInteger()接收数据出错

AThread.Connection.ReadInteger()接收数据出错

时间:2011-10-21

来源:互联网

AThread.Connection.ReadInteger()
接收到的数据为1936614521
也没发这么大的数啊.

作者: nydns   发布时间: 2011-10-21

不是你发这么大,而是接受错误,把其他内容转成integer了
比如汉字,未清空的内存等等,总之是代码错误

作者: funxu   发布时间: 2011-10-21

引用 1 楼 funxu 的回复:
不是你发这么大,而是接受错误,把其他内容转成integer了
比如汉字,未清空的内存等等,总之是代码错误

是啊.肯定是有错误.我用try也没查到.
client发数据时用memo查看没有问题.
但接收时.就有错误.

作者: nydns   发布时间: 2011-10-21