本地 Fortune 服务器

演示如何使用QLocalServer 和QLocalSocket 来提供一项简单的本地服务。

“本地 fortune 服务器”示例展示了如何为一个简单的本地服务创建服务器。该示例旨在与“本地 fortune 客户端”示例配合运行。

“本地Fortune服务器”示例的屏幕截图

示例项目 @ 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.