Results 1 to 3 of 3

Thread: Using multiple applications on same port? (UDP) [Solved]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: Using multiple applications on same port? (UDP)

    Some tips:
    1. Learn how peer to peer works
    2. Learn about broadcasting messages
    3. The most easy and ready made solution, connect 4 clients to a single server, let your server handle all the messages.

    For solution 3, example:
    Client 1 wants to send something to client 3, but they are not connected to each other. No problem, send a message to the server and tell the server to send it to client 3. etc. Just like a chat application would work. Every client is a client, not a server.

    If you want every client to be a server too, see peer to peer. There's a bittorrent example in the Qt docs too.

  2. The following user says thank you to tbscope for this useful post:

    DrDonut (3rd June 2010)

Similar Threads

  1. Applications don't start
    By gls in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 22nd September 2007, 06:36
  2. Distributing multiple Qt applications?
    By gfunk in forum Qt Programming
    Replies: 5
    Last Post: 23rd August 2007, 17:41
  3. what's the matter with my qt applications?
    By xylosper in forum Qt Programming
    Replies: 4
    Last Post: 12th June 2007, 17:25
  4. Deploying QT applications
    By SteM in forum Installation and Deployment
    Replies: 3
    Last Post: 6th June 2007, 10:08
  5. Replies: 0
    Last Post: 21st December 2006, 11:48

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.