网络聊天

演示了一个带状态的点对点聊天客户端。

本示例使用QUdpSocket 和QNetworkInterface 进行广播,以发现其对等节点。

该应用程序建立了一个点对点网络,以便多个参与者能够相互聊天

示例项目 @ code.qt.io

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.