summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qtcpserver.h
diff options
context:
space:
mode:
authorRobin Helgelin <robin@connectedtable.com>2010-04-21 10:14:02 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-05-06 07:54:33 (GMT)
commit4620b0fc7a48c643400a42eb9e9cc0a82ad0be9a (patch)
treeb9b93e341405281424edeb715c861d91a5492b4c /src/network/socket/qtcpserver.h
parenta9fb306a1cf1308a3f8b9bb12ed01aed1f6f6f8d (diff)
downloadQt-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.h1
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();