diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-03-15 14:26:26 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-06-21 17:01:03 +0000 |
commit | ed775e794c72b237d148fd7d3ea248c803c30075 (patch) | |
tree | 12931bd47d1691b19472b88c1f4b4319d7847e18 /examples/network/network.pro | |
parent | d502d883fd104aa7a6b20cd49d1ea4c92715df71 (diff) |
Add a secure UDP server example
It's a simple DTLS server, implemented with QUdpSocket,
QDtlsClientVerifier and QDtls. The server is configured
to use PSK only (it has no certificate/key).
The server uses a single QUdpSocket socket and
de-multiplexes UDP datagrams internally (thus
it can work with several clients simultaneously).
Future update will probably add more options (like
configuring with certificate/key, etc). For now -
it's as minimalistic and simple as possible.
Task-number: QTBUG-67596
Change-Id: Ic7d18dbab6dbcc9ed44c82e69a2b364df24aa256
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/network/network.pro')
-rw-r--r-- | examples/network/network.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/network/network.pro b/examples/network/network.pro index d64b16c760..3187c1d43e 100644 --- a/examples/network/network.pro +++ b/examples/network/network.pro @@ -29,7 +29,11 @@ qtHaveModule(widgets) { } - qtConfig(openssl): SUBDIRS += securesocketclient + qtConfig(openssl) { + SUBDIRS += \ + securesocketclient \ + secureudpserver + } qtConfig(sctp): SUBDIRS += multistreamserver multistreamclient } |