摘要: (1)QUdpSocket接收数据 进入槽后,要用这种方式读取,否则可能会导致不发readyRead()信号 。while(udpSocket->bytesAvailable()){ udpSocket->readDatagram(ch,size);} (2)QTcpSocket删除 一定要用del 阅读全文
posted @ 2019-10-24 12:59 付润豪 阅读(2319) 评论(0) 推荐(2) 编辑
摘要: #include int main() { using namespace std; cout << "HelloWorld" << endl; return 0; } 阅读全文
posted @ 2019-04-28 19:31 付润豪 阅读(113) 评论(0) 推荐(0) 编辑
欢迎访问我的博客