diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-10-15 12:16:15 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-10-15 12:37:44 (GMT) |
commit | f13ddaf06eeef9231dc8974c158652e966731013 (patch) | |
tree | e51fb7db46c6fee01206914feb55b4a69f2850ad /src | |
parent | 8af395611e6aa07c2de7b8d48c21cd8ced74087c (diff) | |
download | Qt-f13ddaf06eeef9231dc8974c158652e966731013.zip Qt-f13ddaf06eeef9231dc8974c158652e966731013.tar.gz Qt-f13ddaf06eeef9231dc8974c158652e966731013.tar.bz2 |
QSslSocket: Documentation enhancement
Clarify about bytesWritten() and encryptedBytesWritten()
Reviewed-by: David Boddie
Diffstat (limited to 'src')
-rw-r--r-- | src/network/ssl/qsslsocket.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index 0e9cb4f..a5732fb 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -149,6 +149,13 @@ This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (\l{http://www.openssl.org/}). + \note Be aware of the difference between the bytesWritten() signal and + the encryptedBytesWritten() signal. For a QTcpSocket, bytesWritten() + will get emitted as soon as data has been written to the TCP socket. + For a QSslSocket, bytesWritten() will get emitted when the data + is being encrypted and encryptedBytesWritten() + will get emitted as soon as data has been written to the TCP socket. + \sa QSslCertificate, QSslCipher, QSslError */ |