Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsctpserver.h
Go to the documentation of this file.
1// Copyright (C) 2016 Alex Trotsenko <alex1973tr@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSCTPSERVER_H
5#define QSCTPSERVER_H
6
7#include <QtNetwork/qtcpserver.h>
8
10
11
12#if !defined(QT_NO_SCTP) || defined(Q_QDOC)
13
15class QSctpSocket;
16
17class Q_NETWORK_EXPORT QSctpServer : public QTcpServer
18{
20public:
21 explicit QSctpServer(QObject *parent = nullptr);
22 virtual ~QSctpServer();
23
24 void setMaximumChannelCount(int count);
25 int maximumChannelCount() const;
26
27 QSctpSocket *nextPendingDatagramConnection();
28
29protected:
30 void incomingConnection(qintptr handle) override;
31
32private:
33 Q_DISABLE_COPY(QSctpServer)
34 Q_DECLARE_PRIVATE(QSctpServer)
35};
36
37#endif // QT_NO_SCTP
38
40
41#endif // QSCTPSERVER_H
\inmodule QtCore
Definition qobject.h:103
The QSctpServer class provides an SCTP-based server.
Definition qsctpserver.h:18
The QSctpSocket class provides an SCTP socket.
Definition qsctpsocket.h:17
The QTcpServer class provides a TCP-based server.
Definition qtcpserver.h:22
Combined button and popup list for selecting options.
GLuint64 GLenum void * handle
GLenum GLenum GLsizei count
#define Q_OBJECT
ptrdiff_t qintptr
Definition qtypes.h:166