List of All Members for QTcpSocket | Qt Network | Qt 6.11.1
Description: The QTcpSocket class provides a TCP socket.

- Qt 6.11
- Qt Network
- C++ Classes
- QTcpSocket
- Qt 6.11.1 Reference Documentation

# List of All Members for QTcpSocket

This is the complete list of members for QTcpSocket, including inherited members.

enum BindFlag flags BindMode enum NetworkLayerProtocol flags OpenMode enum OpenModeFlag enum PauseMode flags PauseModes enum SocketError enum SocketOption enum SocketState enum SocketType QTcpSocket(QObject *) ~QTcpSocket() abort() aboutToClose() atEnd() const : bool bind(const QHostAddress &, quint16, QAbstractSocket::BindMode) : bool bind(quint16, QAbstractSocket::BindMode) : bool bind(QHostAddress::SpecialAddress, quint16, QAbstractSocket::BindMode) : bool bindableObjectName() : QBindable<QString> blockSignals(bool) : bool bytesAvailable() const : qint64 bytesAvailable() const : qint64 bytesToWrite() const : qint64 bytesToWrite() const : qint64 bytesWritten(qint64) canReadLine() const : bool channelBytesWritten(int, qint64) channelReadyRead(int) childEvent(QChildEvent *) children() const : const QObjectList & close() close() commitTransaction() connect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, Functor) : QMetaObject::Connection connect(const QObject *, const char *, const char *, Qt::ConnectionType) const : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, const QObject *, Functor, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction, Qt::ConnectionType) : QMetaObject::Connection connectNotify(const QMetaMethod &) connectToHost(const QString &, quint16, QIODeviceBase::OpenMode, QAbstractSocket::NetworkLayerProtocol) connectToHost(const QHostAddress &, quint16, QIODeviceBase::OpenMode) connected() currentReadChannel() const : int currentWriteChannel() const : int customEvent(QEvent *) deleteLater() destroyed(QObject *) disconnect(const QMetaObject::Connection &) : bool disconnect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool disconnect(const QObject *, const char *, const QObject *, const char *) : bool disconnect(const QObject *, const char *) const : bool disconnect(const char *, const QObject *, const char *) const : bool disconnect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction) : bool disconnectFromHost() disconnectNotify(const QMetaMethod &) disconnected() dumpObjectInfo() const dumpObjectTree() const dynamicPropertyNames() const : QList<QByteArray> error() const : QAbstractSocket::SocketError errorOccurred(QAbstractSocket::SocketError) errorString() const : QString event(QEvent *) : bool eventFilter(QObject *, QEvent *) : bool findChild(QAnyStringView, Qt::FindChildOptions) const : T findChild(Qt::FindChildOptions) const : T findChildren(QAnyStringView, Qt::FindChildOptions) const : QList<T> findChildren(Qt::FindChildOptions) const : QList<T> findChildren(const QRegularExpression &, Qt::FindChildOptions) const : QList<T> flush() : bool getChar(char *) : bool hostFound() inherits(const char *) const : bool installEventFilter(QObject *) isOpen() const : bool isQmlExposed() const : bool isQuickItemType() const : bool isReadable() const : bool isSequential() const : bool isSequential() const : bool isSignalConnected(const QMetaMethod &) const : bool isTextModeEnabled() const : bool isTransactionStarted() const : bool isValid() const : bool isWidgetType() const : bool isWindowType() const : bool isWritable() const : bool killTimer(int) killTimer(Qt::TimerId) localAddress() const : QHostAddress localPort() const : quint16 metaObject() const : const QMetaObject * moveToThread(QThread *) : bool | objectName() const : QString objectNameChanged(const QString &) open(QIODeviceBase::OpenMode) : bool openMode() const : QIODeviceBase::OpenMode parent() const : QObject * pauseMode() const : QAbstractSocket::PauseModes peek(char *, qint64) : qint64 peek(qint64) : QByteArray peerAddress() const : QHostAddress peerName() const : QString peerPort() const : quint16 pos() const : qint64 property(const char *) const : QVariant protocolTag() const : QString proxy() const : QNetworkProxy proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *) putChar(char) : bool read(char *, qint64) : qint64 read(qint64) : QByteArray readAll() : QByteArray readBufferSize() const : qint64 readChannelCount() const : int readChannelFinished() readData(char *, qint64) : qint64 readData(char *, qint64) : qint64 readLine(char *, qint64) : qint64 readLine(qint64) : QByteArray readLineData(char *, qint64) : qint64 readLineData(char *, qint64) : qint64 readLineInto(QSpan<char>) : QByteArrayView readLineInto(QSpan<std::byte>) : QByteArrayView readLineInto(QSpan<uchar>) : QByteArrayView readLineInto(QByteArray *, qint64) : bool readyRead() receivers(const char *) const : int removeEventFilter(QObject *) reset() : bool resume() rollbackTransaction() seek(qint64) : bool sender() const : QObject * senderSignalIndex() const : int setCurrentReadChannel(int) setCurrentWriteChannel(int) setErrorString(const QString &) setLocalAddress(const QHostAddress &) setLocalPort(quint16) setObjectName(const QString &) setObjectName(QAnyStringView) setOpenMode(QIODeviceBase::OpenMode) setParent(QObject *) setPauseMode(QAbstractSocket::PauseModes) setPeerAddress(const QHostAddress &) setPeerName(const QString &) setPeerPort(quint16) setProperty(const char *, const QVariant &) : bool setProperty(const char *, QVariant &&) : bool setProtocolTag(const QString &) setProxy(const QNetworkProxy &) setReadBufferSize(qint64) setSocketDescriptor(qintptr, QAbstractSocket::SocketState, QIODeviceBase::OpenMode) : bool setSocketError(QAbstractSocket::SocketError) setSocketOption(QAbstractSocket::SocketOption, const QVariant &) setSocketState(QAbstractSocket::SocketState) setTextModeEnabled(bool) signalsBlocked() const : bool size() const : qint64 skip(qint64) : qint64 skipData(qint64) : qint64 skipData(qint64) : qint64 socketDescriptor() const : qintptr socketOption(QAbstractSocket::SocketOption) : QVariant socketType() const : QAbstractSocket::SocketType startTimer(int, Qt::TimerType) : int startTimer(std::chrono::nanoseconds, Qt::TimerType) : int startTransaction() state() const : QAbstractSocket::SocketState stateChanged(QAbstractSocket::SocketState) staticMetaObject : const QMetaObject thread() const : QThread * timerEvent(QTimerEvent *) tr(const char *, const char *, int) : QString ungetChar(char) waitForBytesWritten(int) : bool waitForBytesWritten(int) : bool waitForConnected(int) : bool waitForDisconnected(int) : bool waitForReadyRead(int) : bool waitForReadyRead(int) : bool write(const char *, qint64) : qint64 write(const QByteArray &) : qint64 write(const char *) : qint64 writeChannelCount() const : int writeData(const char *, qint64) : qint64 writeData(const char *, qint64) : qint64