qt5base-lts/examples/network/secureudpserver/secureudpserver.pro
Timur Pocheptsov ed775e794c 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>
2018-06-21 17:01:03 +00:00

22 lines
362 B
Prolog

QT += widgets network
TARGET = secureudpserver
TEMPLATE = app
SOURCES += \
main.cpp \
mainwindow.cpp \
server.cpp \
nicselector.cpp
HEADERS += \
mainwindow.h \
server.h \
nicselector.h
FORMS = mainwindow.ui \
nicselector.ui
target.path = $$[QT_INSTALL_EXAMPLES]/network/secureudpserver
INSTALLS += target