Results 1 to 2 of 2

Thread: Network Chat Client in a multihomed environment.

  1. #1
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Network Chat Client in a multihomed environment.

    I am trying to debug why the network chat client example in Qt 4.6.X is only making connections on the primary NIC. Is this example supposed to work when I have more than 1 NIC / network? I am currently testing this in windows. Any ideas?


    Edit:
    I have verified that the PeerManager::sendBroadcastDatagram is being called for each subnet with the expected broadcast address.


    Added after 14 minutes:


    It appears that the subnetmask was wrong on at least 1 of my clients I was testing. One that I can not fix since I do not have admin rights on that machine. I will test this tomorrow on ones that I can fix.
    Last edited by drescherjm; 6th December 2010 at 23:09.
    John

  2. #2
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Network Chat Client in a multihomed environment.

    Okay. It does work in a multi-homed network. It did not work when one client was on the same physical machine as the other but in virtualbox guest when VB was using NAT. It did not work on the machine with the wrong subnet mask which I can not fix. I am going to look into seeing if I can pass the correct broadcast address to the client with the bad subnet mask.
    John

Similar Threads

  1. Specialised Network Chat Application
    By TropicalPenguin in forum Jobs
    Replies: 0
    Last Post: 28th September 2010, 22:40
  2. Network chat system with pop-up window
    By kernel.roy in forum Qt Tools
    Replies: 1
    Last Post: 9th September 2010, 12:36
  3. Network chat system with pop-up window
    By kernel.roy in forum Newbie
    Replies: 1
    Last Post: 8th September 2010, 13:41
  4. Network chat system with pop-up window
    By kernel.roy in forum Qt Programming
    Replies: 0
    Last Post: 8th September 2010, 13:38
  5. Chat client!!!!
    By galleeg in forum Qt Tools
    Replies: 1
    Last Post: 16th May 2006, 09:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.