qt5base-lts/examples/network
Mårten Nordheim 39daa368d4 Torrent example: Use QByteArray toPercentEncoding
The hand-rolled loop produced incorrect output and was subsequently
rejected by trackers.

The torrent example doesn't support modern features though, so it's
still a bit hit-or-miss whether a torrent will work. E.g. downloading an
Arch iso does not work since it relies on DHT, PeX and HTTP seeds.

Fixes: QTBUG-109798
Task-number: QTBUG-110622
Pick-to: 6.5
Change-Id: Ica40fb9205f09d135407a160a28a45d06a418176
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2023-01-30 20:10:25 +01:00
..
blockingfortuneclient Fortune* Example: Bump QDataStream format version 2023-01-17 16:15:11 +01:00
broadcastreceiver Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
broadcastsender Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
dnslookup examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
doc HTTP example: rename to HTTP Client 2023-01-24 20:11:53 +01:00
download examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
downloadmanager Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
fortuneclient Fortune* Example: remove needless unset-ing of window flag 2023-01-17 16:15:11 +01:00
fortuneserver Fortune* Example: remove needless unset-ing of window flag 2023-01-17 16:15:11 +01:00
googlesuggest Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
http HTTP Example: Add proxy handling 2023-01-24 20:11:53 +01:00
loopback Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
multicastreceiver Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
multicastsender Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
multistreamclient Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
multistreamserver Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
network-chat examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
securesocketclient Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
secureudpclient Examples: Do not wrap custom types in Qt namespace 2023-01-02 23:16:30 +01:00
secureudpserver Examples: Do not wrap custom types in Qt namespace 2023-01-02 23:16:30 +01:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
threadedfortuneserver Fortune* Example: Bump QDataStream format version 2023-01-17 16:15:11 +01:00
torrent Torrent example: Use QByteArray toPercentEncoding 2023-01-30 20:10:25 +01:00
CMakeLists.txt Examples: Use Qt6:: to qualify Qt CMake packages 2022-11-17 19:59:11 +01:00
network.pro Remove bearer management from remaining network examples 2020-02-19 13:28:00 +01:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

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.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.