This commit is contained in:
Erik Frojdh
2019-06-05 17:30:21 +02:00
parent 3d6404952a
commit 03f8b389ad
5 changed files with 1347 additions and 2 deletions

View File

@ -79,6 +79,8 @@ int DataSocket::sendData(const void *buffer, size_t size) {
break;
dataSent += thisSend;
}
if(dataSent != size)
throw SocketError("Could not send\n");
return dataSent;
}