Use max block size when reading from socket

This commit is contained in:
Magne Sjaastad
2014-04-24 07:40:29 +02:00
parent e5712e9809
commit 0f8b844873
3 changed files with 15 additions and 7 deletions

View File

@@ -28,7 +28,7 @@
class RiaSocketDataTransfer
{
public:
static size_t doubleValueCountInBlock();
static size_t maximumValueCountInBlock();
public:
static bool writeBlockDataToSocket(QTcpSocket* socket, const char* data, quint64 bytesToWrite, QStringList& errorMessages);