qt5base-lts/examples/network
Thiago Macieira bfcb8c6dca Examples: change the main network-chat protocol to CBOR
This complements the previous commit, which changed the broadcast
datagram to CBOR. This commit changes the TCP protocol too. The protocol
is an infinite array of commands, each of which is a map from an integer
(the DataType enum) to either a string or null.

The entire state machine for the connection is rewritten, relying on
QCborStreamReader's ability to deal with incomplete data.

Change-Id: Ic38ec929fc3f4bb795dafffd150ac674c32fac87
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-06-02 03:11:30 +00:00
..
bearermonitor qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
blockingfortuneclient Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
broadcastreceiver qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
broadcastsender qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
dnslookup Unify license header usage. 2016-03-29 10:20:03 +00:00
doc Slightly revamp the http example 2017-09-22 14:29:12 +00:00
download QtNetwork (examples) - update network download manager 2017-10-02 17:10:38 +00:00
downloadmanager QtNetwork (examples) - update the second download manager example 2017-10-02 17:16:21 +00:00
fortuneclient qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
fortuneserver Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
googlesuggest qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
http Slightly revamp the http example 2017-09-22 14:29:12 +00:00
loopback Unify license header usage. 2016-03-29 10:20:03 +00:00
multicastreceiver qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
multicastsender qtlite: Skip building examples when configured with no-feature-udpsocket 2018-01-11 12:37:50 +00:00
multistreamclient Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
multistreamserver Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
network-chat Examples: change the main network-chat protocol to CBOR 2018-06-02 03:11:30 +00:00
securesocketclient qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
shared Polish SCTP examples 2016-08-03 11:46:21 +00:00
threadedfortuneserver Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
torrent Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
network.pro Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-24 20:01:42 +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.