From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

TCP 通讯断开连接 Client端出现卡死现象

两台电脑用TCP通信,Client端程序如图

当网络连接断开(拔出网线)后,Client出现卡死现象,while循环不懂,点按钮没反应。

请问大神,这个问题怎么破??

client 卡死.png

0 项奖励
1 条消息(共 2 条)
2,954 次查看

程序不能这样写.

先学一下 Consumer-Producer design.

 

George Zou
0 项奖励
2 条消息(共 2 条)
2,915 次查看