7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtNetwork/qabstractsocket.h>
10#include <QtCore/qproperty.h>
23 Q_PROPERTY(SocketOptions socketOptions READ socketOptions WRITE setSocketOptions
24 BINDABLE bindableSocketOptions)
32 UserAccessOption = 0x01,
33 GroupAccessOption = 0x2,
34 OtherAccessOption = 0x4,
35 WorldAccessOption = 0x7,
36 AbstractNamespaceOption = 0x8
47 virtual bool hasPendingConnections()
const;
48 bool isListening()
const;
51 int maxPendingConnections()
const;
57 void setMaxPendingConnections(
int numConnections);
58 bool waitForNewConnection(
int msec = 0,
bool *timedOut =
nullptr);
60 void setListenBacklogSize(
int size);
61 int listenBacklogSize()
const;
63 void setSocketOptions(SocketOptions options);
64 SocketOptions socketOptions()
const;
67 qintptr socketDescriptor()
const;
70 virtual void incomingConnection(
quintptr socketDescriptor);
SocketError
This enum describes the socket errors that can occur.
The QLocalServer class provides a local socket based server.
void newConnection()
This signal is emitted every time a new connection is available.
The QLocalSocket class provides a local socket.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLenum GLuint GLintptr GLsizeiptr size
[1]
#define QT_REQUIRE_CONFIG(feature)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent