A
A
Artem2014-05-26 10:59:49
Qt
Artem, 2014-05-26 10:59:49

How to configure QUdpSocket::bind to listen to a broadcast on all system interfaces at once?

Hi all! Folks, this is the situation: I use QUdpSocket::bind to listen to the broadcast...
I pass only the port to the method arguments, all other parameters are default (ie listen on all cards). But here's the problem: it only listens to broadcast from one network card (either ethernet or Wi-FI) ...
How can I make it listen to packets from all cards?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question