qt5base-lts/examples/network
Mårten Nordheim f3de92cdad Torrent example: Fix some stack overflow issues
Because of the .size() used as part of the expression it
ends up copying sizeof(qsizetype) bytes to the array,
instead of the (rationally) expected 4 bytes.

Amends 69c31f6f68

Pick-to: 6.5
Task-number: QTBUG-110622
Change-Id: I732e3f4bb5934ff3860087baa91f9bebbf044a7f
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
2023-02-21 13:04:44 +01:00
..
blockingfortuneclient Fortune* Example: Bump QDataStream format version 2023-01-17 16:15:11 +01:00
broadcastreceiver examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +01:00
broadcastsender examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +01:00
dnslookup examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
doc Delete googlesuggest 2023-02-14 17:48:09 +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
http HTTP example: Reflow QMessageBox usage in if-statement 2023-02-02 18:03:36 +00:00
loopback examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +01:00
multicastreceiver examples: Connect Quit action to QCoreApplication::quit, not QWidget::close 2023-02-20 15:18:18 +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: Fix some stack overflow issues 2023-02-21 13:04:44 +01:00
CMakeLists.txt Delete googlesuggest 2023-02-14 17:48:09 +01:00
network.pro Delete googlesuggest 2023-02-14 17:48:09 +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.