Qt 6.11 is out! See what's new in the release
blog
Explore nodes on a subnet
General and Desktop
2
Posts
2
Posters
732
Views
1
Watching
-
Hi Folks,
I have a "server" application that has to explore the reachable clients on its own subnet. I would like to use TCP but the UDP is also allowed...
Can anybody tell me, how can I do that? If it is possible, can I have some code snipets?Regards,
Norbert -
See this "link":http://qt-project.org/doc/qt-5/topics-network-connectivity.html. All you need is there.
bq. Classes like QTcpSocket and QUdpSocket enable the developer to send and receive messages using the TCP or UDP protocol.
There is also this "TCP example project":http://qt-project.org/doc/qt-5/qtnetwork-fortuneserver-example.html.