Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Connection delay for QTcpSocket/QTcpServer
Mark81 last edited by
Hello, I wrote a simple application which create two QTcpServer(s) on two different ports.
Then my own client application connects to both ports with two QTcpSocket(s).
Client and server are directly connected via a LAN cable (no router or other stuff).
Sometimes, one socket connects immediately, while the other takes several seconds. How is it possible? The both are running in the same process, on the same machine!