Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Binding more than one time to the same UDP port
Forum Updated to NodeBB v4.3 + New Features

Binding more than one time to the same UDP port

Scheduled Pinned Locked Moved General and Desktop
qudpsocketbindbinding
2 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koahnig
    wrote on 22 Jun 2015, 16:24 last edited by
    #1

    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?

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 22 Jun 2015, 18:55 last edited by
      #2

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      1/2

      22 Jun 2015, 16:24

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved