Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Explore nodes on a subnet
moravas last edited by
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?
Seba84 last edited by
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.