AndroidSocketClient icon indicating copy to clipboard operation
AndroidSocketClient copied to clipboard

设置固定心跳包,心跳指令是否需要添加包尾(有设置自动添加包尾)?

Open ghost opened this issue 8 years ago • 2 comments

不管有没有在setDefaultSendData添加包尾,针对心跳指令发送完成监听都是null,求解

ghost avatar Oct 20 '16 02:10 ghost

有自动为心跳包添加包尾, 可以上一下相关代码看看(心跳包设置,和监听设置)

vilyever avatar Oct 20 '16 03:10 vilyever

@vilyever 那为什么发送完成监听为null,接收监听是我想要获取的心跳返回值

ghost avatar Oct 20 '16 03:10 ghost