KDECore
ktcpsocket.h
Go to the documentation of this file.
44 Rsa = 0,
47 };
51 };
116 };
149 UnconnectedState = 0,
157 };
159 UnknownSslVersion = 0x01,
160 SslV2 = 0x02,
161 SslV3 = 0x04,
162 TlsV1 = 0x08,
163 SslV3_1 = 0x08,
164 TlsV1SslV3 = 0x10,
165 SecureProtocols = 0x20,
167 };
170 UnknownError = 0,
180 };
214 UnencryptedMode = 0,
217 };
220 AutoProxy = 0,
223 };
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;
Definition: ktcpsocket.h:70
Definition: ktcpsocket_p.h:24
This class can hold all the necessary data from a KTcpSocket to ask the user to continue connecting i...
Definition: ktcpsocket.h:398
Definition: ktcpsocket.h:99
@ InvalidCertificateAuthorityCertificate
Definition: ktcpsocket.h:104
Definition: ktcpsocket.h:41
Definition: ktcpsocket.h:145
void encryptionModeChanged(EncryptionMode)
void encryptedBytesWritten(qint64 written)
void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *authenticator)
void error(KTcpSocket::Error)
void encrypted()
void stateChanged(KTcpSocket::State)
void hostFound()
void sslErrors(const QList< KSslError > &errors)
void connected()
@ UnsupportedSocketOperationError
Definition: ktcpsocket.h:178
void disconnected()
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.