43 #include <QtNetwork/qtnetworkglobal.h>
44 #include <QtCore/qobject.h>
45 #include <QtNetwork/qabstractsocket.h>
46 #include <QtNetwork/qhostaddress.h>
52 #ifndef QT_NO_NETWORKPROXY
67 bool isListening()
const;
69 void setMaxPendingConnections(
int numConnections);
70 int maxPendingConnections()
const;
72 void setListenBacklogSize(
int size);
73 int listenBacklogSize()
const;
78 qintptr socketDescriptor()
const;
79 bool setSocketDescriptor(
qintptr socketDescriptor);
81 bool waitForNewConnection(
int msec = 0,
bool *timedOut =
nullptr);
82 virtual bool hasPendingConnections()
const;
88 void pauseAccepting();
89 void resumeAccepting();
91 #ifndef QT_NO_NETWORKPROXY
The QHostAddress class provides an IP address.\inmodule QtNetwork.
The QNetworkProxy class provides a network layer proxy.
The QObject class is the base class of all Qt objects.
The QString class provides a Unicode character string.
The QTcpServer class provides a TCP-based server.
void acceptError(QAbstractSocket::SocketError socketError)
The QTcpSocket class provides a TCP socket.
#define Q_DISABLE_COPY(Class)
GLuint64 GLenum void * handle
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLuint GLuint64EXT address
serverSocket setProxy(QNetworkProxy::NoProxy)
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent