Reputation: 6772
Is there an equivalent of asyncore/asynchat in pyQt ?
If not, then i trust there wouldn't be a problem by just using asyncore/asynchat in a client-server GUI application, right?
Upvotes: 3
Views: 523
Reputation: 27236
Yes, QTcpSocket/QTcpServer in QNetwork module can work asynchronously, like most of QNetwork's classes.
From documentation at http://doc.qt.io/qt-4.8/network-programming.html:
QTcpSocket works asynchronously and emits signals to report status changes and errors, just like QNetworkAccessManager and QFtp.
Upvotes: 1