AndroidSocketClient icon indicating copy to clipboard operation
AndroidSocketClient copied to clipboard

onResponse 方法 消息无法回调

Open zhaoxiuyu opened this issue 8 years ago • 2 comments

onResponse 方法 消息无法回调 , 下载的Demo也是的

zhaoxiuyu avatar Mar 29 '17 10:03 zhaoxiuyu

compile 'com.github.vilyever:AndroidSocketClient:2.0.1' 这个版本正常,新版本有bug

bingely avatar Mar 29 '17 10:03 bingely

3.0.3亲测可以。 看demo中作者说的很清楚了,定义了3种读取方式,(Manually)手动读取、(AutoReadToTrailer)包尾读取、(AutoReadByLength)长度读取,收不到回调信息,自己检查 一下自己的协议对应的3种读取方式是否正确

y453190368 avatar Apr 23 '21 02:04 y453190368