Binding more than one time to the same UDP port


  • Moderators

    Receiving UDP data from an external source. The sender is using the server address and a specified port number.

    My application uses QUdpSocket with the specified port number and bind to it. It receives the information as expected.
    When starting the application a second time, the second instance does not receive the information.

    I have checked bindmode 0x1 and 0x4 and also 0x5. The behavior does not change. The description suggests to me that it can share the addresses and ports which would be basically a fork of information.

    Or am I wrong and I try to something not possible at all?


  • Moderators

    OK, found that there are two sides for that coin as well.
    I need to check the other side as well as one sees in the mutlicast sender example.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.