Important: Please read the Qt Code of Conduct -

Establish multiple QTcpservers and an single QTcpClient using threads

  • Hi Guys,

    I am doing a project on QTcpSocket. My requirement is to connect to multiple servers placed at various locations using a single client.consider there are 20 such servers and i have to establish a connection to all and query those and read the data from them using my client application and process the data at my client side...i have an problem here that if i try to establish all those connections sequentially it would take a lot of time to complete all that process.So, i need to make it using multiple threads which i am not sure how to start with..
    can anyone over here please suggest me how to start it using multithreading or any other solution for my need.

    Waiting for replies asap,
    Thanks in Advance
    Wishing you a happy new year in Advance

  • Hii.....
    Watch this tutorial : –
    I hope it will help you.
    Happy New Year in Advance.... (: - :)

Log in to reply