Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] UDP Broadcast sender-receiver example



  • Hello,

    I have compiled the examples of broadcast sender-receiver, and run the applications (in the same machine).
    I have expected to see in the receiver that it detects the udp datagrams, but I get no indication in the window of the receiver. Why doesn't it work ?

    Thank you,
    Ran


  • Moderators

    Perhaps the receiver guards against receiving messages from the same IP address it is using?



  • Hi,

    I just had to change some line (in bind I think) so that the address is: ::LoaclHost , then the demo works great. Thx, Ran


Log in to reply