初级会员
- 积分
- 138
- 金钱
- 138
- 注册时间
- 2018-11-19
- 在线时间
- 113 小时
|
40金钱
数据据如下:
[2021-06-25 13:25:36-988]NET001-发送:[2e 4a 00 00 00 06] 01 4d 12 34 56 78
[2021-06-25 13:25:37-014]NET001-接收:[2e 4a 00 00 00 c9] 01 4d 80 65 55 aa fa 2d 11 22 33 44 55 66 77 10 00 00 00 00 00 00 aa aa 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[2021-06-25 13:25:37-127]NET001-发送:[2e 4b 00 00 00 06] 01 4d 12 34 56 78
[2021-06-25 13:25:37-151]NET001-接收:[2e 4b 00 00 00 c9] 01 4d 80 66 55 aa fa 2d 11 22 33 44 55 66 77 e6 00 00 00 00 00 00 aa aa 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[2021-06-25 13:25:37-251]NET001-发送:[2e 4c 00 00 00 06] 01 4d 12 34 56 78
[2021-06-25 13:25:37-271]NET001-接收:[2e 4c 00 00 00 c9] 01 4d 80 66 55 aa fa 2d 11 22 33 44 55 66 77 e6 00 00 00 00 00 00 aa aa 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
单片机:作为服务器(只允许连接一个客户端);
PC:作为客户端
问题: 异常(丢包)断开连接后,无法重连(原因:之前连接的客户端没清空),请问如何断开之前的连接?
|
|