Corrected function-member "ReadyRead".

This commit is contained in:
ChronosX88 2018-05-16 17:12:15 +03:00
parent d17be75613
commit ccd28abd54

View File

@ -29,7 +29,6 @@ class Network
{
QByteArray buffer;
buffer.resize(socket->pendingDatagramSize());
QHostAddress sender;
socket->readDatagram(buffer.data(), buffer.size(),
&sender;, &senderPort;);
qDebug() << "Message from: " << sender.toString();