diff options
author | Robin Helgelin <robin@connectedtable.com> | 2010-04-21 10:14:02 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-05-06 07:54:33 (GMT) |
commit | 4620b0fc7a48c643400a42eb9e9cc0a82ad0be9a (patch) | |
tree | b9b93e341405281424edeb715c861d91a5492b4c /src/network/socket/qtcpserver.h | |
parent | a9fb306a1cf1308a3f8b9bb12ed01aed1f6f6f8d (diff) | |
download | Qt-4620b0fc7a48c643400a42eb9e9cc0a82ad0be9a.zip Qt-4620b0fc7a48c643400a42eb9e9cc0a82ad0be9a.tar.gz Qt-4620b0fc7a48c643400a42eb9e9cc0a82ad0be9a.tar.bz2 |
Keep support for maximum pending connections in derived QTcpServer
By adding a new function to the class QTcpServer it's now possible to
extend QTcpserver functionality with for instance SSL capabilities and
still keep the support for maximum pending connections.
Task-number: QTBUG-1875
Reviewed-by: Peter Hartmann
Reviewed-by: Markus Goetz
Merge-Request: 568
Diffstat (limited to 'src/network/socket/qtcpserver.h')
-rw-r--r-- | src/network/socket/qtcpserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/socket/qtcpserver.h b/src/network/socket/qtcpserver.h index 7aebffe..b206678 100644 --- a/src/network/socket/qtcpserver.h +++ b/src/network/socket/qtcpserver.h @@ -93,6 +93,7 @@ public: protected: virtual void incomingConnection(int handle); + void addPendingConnection(QTcpSocket* socket); Q_SIGNALS: void newConnection(); |