socket通信,两个程序进行socket通信,每个程序都有监听和返回。两个程序采用不同的平台语言实现,其中一个采用qt。现在的问题是:不采用信号槽,直接采用函数调用的方式返回消息,但是出现了数据串过大被截断的问题。如何解决?程序里采用waitForReadyRead()判断数据已经接收到,但是在qt官方说明中这样描述:Note: This function may fail randomly on Windows. Consider using the event loop and the readyRead() signal if your software will run on Windows.