KDECore
ktcpsocket.h
Go to the documentation of this file.
44 Rsa = 0,
46 Dh
50 PrivateKey
115 PathLengthExceeded
149 UnconnectedState = 0,
155 ClosingState
159 UnknownSslVersion = 0x01,
160 SslV2 = 0x02,
161 SslV3 = 0x04,
162 TlsV1 = 0x08,
163 SslV3_1 = 0x08,
164 TlsV1SslV3 = 0x10,
165 SecureProtocols = 0x20,
166 AnySslVersion = SslV2 | SslV3 | TlsV1
170 UnknownError = 0,
179 SslHandshakeFailedError
214 UnencryptedMode = 0,
220 AutoProxy = 0,
222 ManualProxy
251 void connectToHost(const QHostAddress &hostAddress, quint16 port, ProxyPolicy policy = AutoProxy);
299 void connectToHostEncrypted(const QString &hostName, quint16 port, OpenMode openMode = ReadWrite);
385 friend class KTcpSocketPrivate;
typedef OpenMode
Definition: ktcpsocket.h:173
Definition: ktcpsocket.h:111
Definition: ktcpsocket.h:44
Definition: ktcpsocket.h:176
virtual bool atEnd() const
Definition: ktcpsocket.h:105
virtual qint64 bytesToWrite() const
Definition: ktcpsocket.h:107
Definition: ktcpsocket.h:49
Definition: ktcpsocket.h:154
Definition: ktcpsocket.h:152
Definition: ktcpsocket.h:153
Definition: ktcpsocket.h:70
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual qint64 readData(char *data, qint64 maxSize)=0
virtual void close()
virtual bool isSequential() const
Definition: ktcpsocket.h:174
Definition: ktcpsocket.h:41
Definition: ktcpsocket.h:114
Definition: ktcpsocket.h:144
virtual bool waitForBytesWritten(int msecs)
QTcpSocket * connectToHost(const QString &protocol, const QString &host, quint16 port, QObject *parent=0)
Initiates a TCP/IP socket connection to remote node (host) host, using the protocol.
Definition: ksocketfactory.cpp:69
Definition: ktcpsocket.h:108
virtual bool waitForReadyRead(int msecs)
Definition: ktcpsocket.h:175
This class can hold all the necessary data from a KTcpSocket to ask the user to continue connecting i...
Definition: ktcpsocket.h:397
Definition: ktcpsocket.h:112
virtual qint64 bytesAvailable() const
Definition: ktcpsocket.h:113
Definition: ktcpsocket.h:45
Definition: ktcpsocket.h:150
Definition: ktcpsocket.h:151
Definition: ktcpsocket_p.h:23
Definition: ktcpsocket.h:215
Definition: ktcpsocket.h:103
unsigned int version()
Returns the encoded number of KDE's version, see the KDE_VERSION macro.
Definition: kdeversion.cpp:24
virtual qint64 writeData(const char *data, qint64 maxSize)=0
Definition: ktcpsocket.h:98
Definition: ktcpsocket.h:109
virtual bool canReadLine() const
int state() const
Definition: ktcpsocket.h:177
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.