Added minimal UDP client and server examples

This commit is contained in:
Tuomas Järvinen
2024-07-04 13:51:19 +03:00
parent f4027094f1
commit aae3e87116
6 changed files with 136 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
QT = core network
CONFIG += c++17 cmdline
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
main.cpp \
udpserver.cpp
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
HEADERS += \
udpserver.h