Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How to run "Network chat client example" in QT demos ?

    General and Desktop
    3
    6
    5069
    Loading More Posts
    • 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.
    • A
      anumeval last edited by

      Can I use the Network chat client example to chat between multiple machines?

      I am launching the "Network chat client example" in multiple machine connecten over the LAN network , But I don't see the other client instance that has started. Is there any server configuration needed? Any links of the documentation will be helpful

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • D
        DenisKormalev last edited by

        It should work without any specific configuration. Didn't run it but source says that it uses broadcast messages so all recipients in network should receive them.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest last edited by

          tried this on a few m/cs and find that those having the same qt version are able to connect with each other :) .... if the qt version was different, it wouldn't connect.. have to dig further as to why

          1 Reply Last reply Reply Quote 0
          • I
            IrQX last edited by

            [quote author="anumeval" date="1281085105"]Can I use the Network chat client example to chat between multiple machines?

            I am launching the "Network chat client example" in multiple machine connecten over the LAN network , But I don't see the other client instance that has started. Is there any server configuration needed? Any links of the documentation will be helpful

            Thanks in advance

            [/quote]

            As an variant is: check firewall settings. Many firewalls by default blocks broadcast messaging.

            1 Reply Last reply Reply Quote 0
            • ?
              Guest last edited by

              when I tried, all machines were on the same subnet and using the same dhcp server for all network configuration, so some other issue

              1 Reply Last reply Reply Quote 0
              • I
                IrQX last edited by

                [quote author="chetankjain" date="1281140654"]when I tried, all machines were on the same subnet and using the same dhcp server for all network configuration, so some other issue[/quote]

                This isn't firewall settings. Your firewall (such default windows firewall) might be blocking UDP traffic. If you using other OSes check their firewall settings

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post