Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
cmessineo last edited by
Hi all, I'm able to figure out how to allow only one connection, just don't know how to figure out when the connection is dropped by the client.
Thanks in advance.
DenisKormalev last edited by
Hm, so you need "this signal":http://doc.qt.nokia.com/4.7/qabstractsocket.html#stateChanged ? QTcpServer is not relevant here, all that its do is initializing connection, not handling it all lifetime.