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. Multicast UDP Ethernet
QtWS25 Last Chance

Multicast UDP Ethernet

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 576 Views
  • 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.
  • J Offline
    J Offline
    jessiffmm
    wrote on last edited by
    #1

    Hi!

    I have created a multicast receiver , but it doesn't work.
    I can see the message in wireshark but the signal readyread is never triggered in the program.
    I have:
    QUdpSocket *sqtSocket;
    QHostAddress groupAddress;
    sqtSocket = new QUdpSocket(this);
    groupAddress = QStringLiteral("225.25.250.3");
    sqtSocket->bind(QHostAddress::AnyIPv4,, 3003, QUdpSocket::ShareAddress)
    sqtSocket->joinMulticastGroup(groupAddress) ;

    I send the message between 2 computer with ethernet.
    If I send the message in the same computer I don't have this problem.

    Regards!

    CKurduC 1 Reply Last reply
    0
    • J jessiffmm

      Hi!

      I have created a multicast receiver , but it doesn't work.
      I can see the message in wireshark but the signal readyread is never triggered in the program.
      I have:
      QUdpSocket *sqtSocket;
      QHostAddress groupAddress;
      sqtSocket = new QUdpSocket(this);
      groupAddress = QStringLiteral("225.25.250.3");
      sqtSocket->bind(QHostAddress::AnyIPv4,, 3003, QUdpSocket::ShareAddress)
      sqtSocket->joinMulticastGroup(groupAddress) ;

      I send the message between 2 computer with ethernet.
      If I send the message in the same computer I don't have this problem.

      Regards!

      CKurduC Offline
      CKurduC Offline
      CKurdu
      wrote on last edited by CKurdu
      #2

      @jessiffmm maybe silly question. Did you check the firewall?

      You reap what you sow it

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jessiffmm
        wrote on last edited by
        #3

        The firewall is disconnected ...

        Pablo J. RoginaP 1 Reply Last reply
        0
        • J jessiffmm

          The firewall is disconnected ...

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @jessiffmm what if you try this Qt example under same network conditions?

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          J 1 Reply Last reply
          3
          • Pablo J. RoginaP Pablo J. Rogina

            @jessiffmm what if you try this Qt example under same network conditions?

            J Offline
            J Offline
            jessiffmm
            wrote on last edited by
            #5

            @Pablo-J-Rogina I have tried this example but It doesn't work.

            Pablo J. RoginaP 1 Reply Last reply
            0
            • J jessiffmm

              @Pablo-J-Rogina I have tried this example but It doesn't work.

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @jessiffmm ok, so is it a network configuration issue?

              BTW you didn't state the OS you're using, please describe both senders and receiver environments.

              Just in case you may want to check multicast really works in your network by checking this StackOverflow answer (see the Python script...)

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              2

              • Login

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