【修改内容】1. tcp连接粘包问题:1)使用json格式找'{'找到完成的json;2). 收到数据有'\0',用'\0'来区分粘包;2....
【修改内容】1. tcp连接粘包问题:1)使用json格式找'{'找到完成的json;2). 收到数据有'\0',用'\0'来区分粘包;2. 同意发送格式,发送数据接口数据发送修改为不包括'\0';3. tcp连接增加锁
Showing
This diff is collapsed.
No preview for this file type
Please register or sign in to comment