QtNetwork/qtcpserver.h Source File
Go to the documentation of this file.
55 class QTcpServerPrivate;
56 #ifndef QT_NO_NETWORKPROXY
71 bool isListening()
const;
73 void setMaxPendingConnections(
int numConnections);
74 int maxPendingConnections()
const;
79 int socketDescriptor()
const;
80 bool setSocketDescriptor(
int socketDescriptor);
82 bool waitForNewConnection(
int msec = 0,
bool *timedOut = 0);
83 virtual bool hasPendingConnections()
const;
89 #ifndef QT_NO_NETWORKPROXY
95 virtual void incomingConnection(
int handle);
110 #endif // QTCPSERVER_H
#define QT_BEGIN_NAMESPACE