mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-10 01:41:01 +00:00
Corrected function-member "ReadyRead".
This commit is contained in:
parent
d17be75613
commit
ccd28abd54
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user