Explore nodes on a subnet
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?
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.