I have an application with QTcpSocket to connect to multiple servers and get data from each server and display it on GUI I want to design.
A QTcpServer with multiple clients is easy to cool. But I have to design my application very similarly.
In my application, I have to connect to 40 devices (server). These devices get data through some sources and they transfer this data to my application. In my application, the data obtained from different servers will be divided and will be displayed in the prescribed format along with the details of the server such as IP address port number etc.
Single socket-server communication is done but I think about the effective way of connecting multiple servers through a single socket ??
Can someone guide me more than one TcpServer and guide it effectively to get data from each server ??
connect to a single server A single QTcpSocket is designed for. You will need 40 QTCPCTs to connect to 40 QTcpServers simultaneously.
Comments
Post a Comment