Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. I have doubt on TCP/Ip multi client with single server
Forum Updated to NodeBB v4.3 + New Features

I have doubt on TCP/Ip multi client with single server

Scheduled Pinned Locked Moved Unsolved Wiki Discussion
2 Posts 2 Posters 1.5k 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.
  • B Offline
    B Offline
    bhargav
    wrote on 22 Aug 2018, 16:34 last edited by
    #1

    My code is working fine ,multi client with single server.
    from client1 is sending "Test1" and server has to echo to that particular client "reply1".
    from client2 is sending "Test2" and server has to echo to that particular client "reply2".

    so ,here I am not getting the logic behind the server code how to get echo for particular client with reply1 ,reply2 ..........reply n.

    In server code without multithreading i am using .
    I have used QList for tcpsocket count and i am not getting how to give reply to particular client.

    Please give suggestions to resolve this task.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 22 Aug 2018, 17:40 last edited by
      #2

      Closed as duplicate. Continuation is here: https://forum.qt.io/topic/93944/i-have-doubt-on-tcp-server-when-multiple-client-with-single-server-is-conected-without-multithreading-code/2

      Qt has to stay free or it will die.

      1 Reply Last reply
      0

      1/2

      22 Aug 2018, 16:34

      • Login

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