From 90c88831623053cdc864fc82e25c7685dd40b3c2 Mon Sep 17 00:00:00 2001 From: touwoyimuli Date: Thu, 5 Dec 2019 00:07:38 +0800 Subject: [PATCH] feat: QUdpSocket MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QUdpSocket 网络套接字的使用: <1> unicast(单播) <2> broadcast(广播) <3> multicate(组播)的使用 --- QtUdpEx/ExMulticast/ExMulticast.pro | 1 + QtUdpEx/ExTrans/ExTrans.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/QtUdpEx/ExMulticast/ExMulticast.pro b/QtUdpEx/ExMulticast/ExMulticast.pro index 29a54c4..ca551f4 100644 --- a/QtUdpEx/ExMulticast/ExMulticast.pro +++ b/QtUdpEx/ExMulticast/ExMulticast.pro @@ -34,6 +34,7 @@ HEADERS += \ FORMS += \ ExMulticast.ui + macx { ICON = images/icon.icns } diff --git a/QtUdpEx/ExTrans/ExTrans.cpp b/QtUdpEx/ExTrans/ExTrans.cpp index dbf419f..a421abb 100644 --- a/QtUdpEx/ExTrans/ExTrans.cpp +++ b/QtUdpEx/ExTrans/ExTrans.cpp @@ -29,7 +29,7 @@ ExTrans::ExTrans(QWidget *parent) : ui(new Ui::ExTrans) { ui->setupUi(this); - setWindowTitle("Tcp通信:unicast(单播) + broadcast(广播)的使用"); + setWindowTitle("Udp通信:unicast(单播) + broadcast(广播)的使用"); QString hostName = QHostInfo::localHostName(); QString ip = getLocalIp();