tags:

views:

266

answers:

1

Hi.

I'm new to QT programming. Could anyone explain how I can send broadcast messages given a network adapter and its IP address? I also don't know how to receive datagrams using QT. Could anyone please help?

+2  A: 

You could conceivably take a look at the very simple BroadcastSender and BroadcastReceiver examples that come bundled with QT. You will find them in the examples/network directory of your QT source tree, more specifically in examples/network/broadcastreceiver and examples/network/broadcastsender or directly online at this URL: examples/network

Mihai Limbășan