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; QByteArray buffer;
buffer.resize(socket->pendingDatagramSize()); buffer.resize(socket->pendingDatagramSize());
QHostAddress sender;
socket->readDatagram(buffer.data(), buffer.size(), socket->readDatagram(buffer.data(), buffer.size(),
&sender;, &senderPort;); &sender;, &senderPort;);
qDebug() << "Message from: " << sender.toString(); qDebug() << "Message from: " << sender.toString();