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 Sender and Receiver Example

Multicast Sender and Receiver Example

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 2.5k Views 2 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.
  • H Offline
    H Offline
    Himanshu Rohilla
    wrote on last edited by
    #1

    Hello everyone,

    I am trying MulticastSender and MulticastReceiver example from Qt's examples list. If I execute both sample applications on same machine, they work. But, If I execute any one application (For example - "Sender") on a machine and execute an another application (For example - "Receiver") on an other machine, Receiver application is unable to receive datagram packets.

    Please help me out.

    HImanshu Rohilla

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Make sure that windows
      firewall do not block the port used.
      Make sure you can ping the machines.
      It sounds like such issue. :)

      1 Reply Last reply
      1
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        Hope both systems are in same subnet.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        5
        • H Offline
          H Offline
          Himanshu Rohilla
          wrote on last edited by
          #4

          @mrjj , Hi, Thanks for suggestions .
          I allowed Receiver application on firewall.
          And I can also ping the machines.

          HImanshu Rohilla

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Himanshu Rohilla
            wrote on last edited by
            #5

            @dheerendra
            Hi, Thanks for suggestion.
            Both systems are in same subnet. :(

            HImanshu Rohilla

            mrjjM 1 Reply Last reply
            0
            • H Himanshu Rohilla

              @dheerendra
              Hi, Thanks for suggestion.
              Both systems are in same subnet. :(

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @Himanshu-Rohilla

              • Receiver application on firewall.

              Super. Did you also allow the port ?

              https://techtalk.gfi.com/scan-open-ports-in-windows-a-quick-guide/

              Also your router might filter multicast packets.
              https://tools.ietf.org/html/rfc3171

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Himanshu Rohilla
                wrote on last edited by
                #7

                @mrjj
                Thanks for ur suggestion.
                I also allowed the port.

                Well, I solved the problem. I just changed the value of Group Address. Now I am using "239.255.255.250" address as Group Address.
                This is "Simple Service Discovery Protocol" Address.

                Thanks to everyone ... :)

                HImanshu Rohilla

                1 Reply Last reply
                1

                • Login

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