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. How to run "Network chat client example" in QT demos ?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 5.3k 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.
  • A Offline
    A Offline
    anumeval
    wrote on last edited by
    #1

    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
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      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
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        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
        0
        • I Offline
          I Offline
          IrQX
          wrote on last edited by
          #4

          [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
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            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
            0
            • I Offline
              I Offline
              IrQX
              wrote on last edited by
              #6

              [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
              0

              • Login

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