diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-12-09 14:57:23 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-12-09 14:57:23 (GMT) |
commit | 9bbe9bc76222fa6f89283d96cbd9e448e331f909 (patch) | |
tree | 8bf4bf5dd31ca694701ca1de239535a4d62a9fb4 /src/network/socket | |
parent | 94226b6865615e844c46c6c068e3d4e9a9eb2068 (diff) | |
download | Qt-9bbe9bc76222fa6f89283d96cbd9e448e331f909.zip Qt-9bbe9bc76222fa6f89283d96cbd9e448e331f909.tar.gz Qt-9bbe9bc76222fa6f89283d96cbd9e448e331f909.tar.bz2 |
QSymbianSocketEngine: Some missing functions
Diffstat (limited to 'src/network/socket')
-rw-r--r-- | src/network/socket/qsymbiansocketengine.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/network/socket/qsymbiansocketengine.cpp b/src/network/socket/qsymbiansocketengine.cpp index 1490bdd..9eadf0a 100644 --- a/src/network/socket/qsymbiansocketengine.cpp +++ b/src/network/socket/qsymbiansocketengine.cpp @@ -465,6 +465,26 @@ int QSymbianSocketEngine::option(QAbstractSocketEngine::SocketOption opt) const return -1; } +qint64 QSymbianSocketEngine::receiveBufferSize() const +{ + return option(ReceiveBufferSocketOption); +} + +void QSymbianSocketEngine::setReceiveBufferSize(qint64 size) +{ + setOption(ReceiveBufferSocketOption, size); +} + +qint64 QSymbianSocketEngine::sendBufferSize() const +{ + return option(SendBufferSocketOption); +} + +void QSymbianSocketEngine::setSendBufferSize(qint64 size) +{ + setOption(SendBufferSocketOption, size); +} + bool QSymbianSocketEngine::connectToHostByName(const QString &name, quint16 port) { // FIXME for engines that support hostnames.. not for us then i guess. |