How to do network programming in Qt.
![]()
Qt is provided with an extensive set of network classes to support both client-based and server side network programming.
These examples demonstrate the fundamental aspects of network programming with Qt.
演示如何为网络服务创建客户端。
演示如何接收,通过本地网络广播的信息。
演示如何把信息广播到本地网络中的多个客户端。
演示如何为网络服务创建客户端。
演示如何为网络服务创建服务器。
Obtains the list of search recommendations by the Google search engine.
Demonstrates a simple HTTP client.
Demonstrates the client-server communication on a local host.
演示如何接收,被发送给多点播送组的信息。
演示如何把消息,发送到多点播送组。
Demonstrates a stateful peer-to-peer Chat client.
Demonstrates how to use networking APIs for multiple downloads.
Demonstrates how to use the networking APIs for multiple downloads.
演示如何通过加密 (SSL) 连接进行通信。
DTLS-client
This example demonstrates how to implement client-side DTLS connections.
DTLS-server
This examples demonstrates how to implement a simple DTLS server.
线程化 Fortune 服务器范例展示如何创建服务器,为使用线程处理来自不同客户端的请求的简单网络服务。它旨在与 Fortune 客户端范例一起运行。
演示复杂 TCP/IP 操作。