ed775e794c
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>
22 lines
362 B
Prolog
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
|