60#ifdef QSCTPSERVER_DEBUG
69 : maximumChannelCount(0)
100#if defined(QSCTPSERVER_DEBUG)
101 qDebug(
"QSctpServer::QSctpServer()");
113#if defined(QSCTPSERVER_DEBUG)
114 qDebug(
"QSctpServer::~QSctpServer()");
132 qWarning(
"QSctpServer::setMaximumChannelCount() is only allowed in UnconnectedState");
135#if defined(QSCTPSERVER_DEBUG)
136 qDebug(
"QSctpServer::setMaximumChannelCount(%i)",
count);
138 d->maximumChannelCount =
count;
154 return d_func()->maximumChannelCount;
161#if defined (QSCTPSERVER_DEBUG)
196 for (
auto it =
d->pendingConnections.begin(),
end =
d->pendingConnections.end();
it !=
end; ++
it) {
200 if (
socket->isInDatagramMode()) {
201 d->pendingConnections.erase(
it);
203 d->socketEngine->setReadNotificationEnabled(
true);
213#include "moc_qsctpserver.cpp"
virtual bool setOption(SocketOption option, int value)=0
The QAbstractSocket class provides the base functionality common to all socket types.
virtual bool setSocketDescriptor(qintptr socketDescriptor, SocketState state=ConnectedState, OpenMode openMode=ReadWrite)
Initializes QAbstractSocket with the native socket descriptor socketDescriptor.
virtual ~QSctpServerPrivate()
void configureCreatedSocket() override
The QSctpServer class provides an SCTP-based server.
int maximumChannelCount() const
Returns the maximum number of channels that the accepted sockets are able to support.
virtual ~QSctpServer()
Destroys the QSctpServer object.
void setMaximumChannelCount(int count)
Sets the maximum number of channels that the server is prepared to support in datagram mode,...
QSctpServer(QObject *parent=nullptr)
Constructs a QSctpServer object.
QSctpSocket * nextPendingDatagramConnection()
Returns the next pending datagram-mode connection as a connected QSctpSocket object.
void incomingConnection(qintptr handle) override
\reimp
The QSctpSocket class provides an SCTP socket.
QAbstractSocketEngine * socketEngine
virtual void configureCreatedSocket()
The QTcpServer class provides a TCP-based server.
void addPendingConnection(QTcpSocket *socket)
This function is called by QTcpServer::incomingConnection() to add the socket to the list of pending ...
qintptr socketDescriptor() const
Returns the native socket descriptor the server uses to listen for incoming instructions,...
QSet< QString >::iterator it
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent