Take the 2-minute tour ×

I have a proprietary application running in my PC that listens to a specific IP address broadcasts in the NIC I bind him to.

I did an application to generate this UDP broadcast packet but the other application doesn't 'see' this packet when I have it running on the same PC. If my application is run in other PC within the same physical network it does detect.

I tried the following configurations none of them worked:

  • Proprietary app bound to Local Interface main IP.
  • My application bound to Local Interface 2nd IP.


  • Proprietary app bound to Local Interface main IP.
  • My application bound to Microsoft Loopback Adapter IP.

All communication is happening per Wireshark debugging, all applications send the right packets, except the Proprietary application never 'recognizes' my application.

The platform is Windows 7, and my application was done with QT, it mainly binds to the network IP with sharedaddress and writedatagram to the broadcast address.


share|improve this question
No code? No information on the packets? No packet capture? How do you expect us to help you? You can't honestly make a post like this and think that you have provided nearly enough information to get a useful reply. You might get a guess here and there, and maybe one of those guesses will be correct, but don't come here and make a post like this and expect a decent answer. Clearly you didn't read the FAQ. I suggest doing so and posting again. stackoverflow.com/faq –  Brad Dec 15 '11 at 14:17
Sorry if my post offended you so much, the fact that no code/packet was provided was because it is not relevant to the problem in my opinion, the packet sending is as easy as a ` QUdpSocket socket; socket.bind(interface_address, broadcast_port, QUdpSocket::ReuseAddressHint); socket.writeDatagram(data, sizeof(data), broadcast_ip, broadcast_port); ` The packet data is not important, can be anything you like, again, it's not relevant to the issue happening. –  rbarreiros Dec 15 '11 at 14:53
You have not offended me at all, I am trying to help you. If code isn't relevant to your problem, then your post is off-topic for Stack Overflow, where problems are expected to be related to programming/code. Simplifying down the problem into a reproducible example is encouraged. If you feel you can do that in a few lines of code, then edit your post and include them. –  Brad Dec 15 '11 at 14:55
Might not be about programming/code directly, might be, the thing is, as my previous comment, the code is ridiculously simple, now, the question is, why the other proprietary application (which obviously I have no code) doesn't 'receive' the packet while wireshark shows it. –  rbarreiros Dec 15 '11 at 14:58
If this isn't something that can be reproduced by others, then your question falls under "too localized"... also off topic. –  Brad Dec 15 '11 at 14:59
add comment

Your Answer



Browse other questions tagged or ask your own question.