diff --git a/Participant.cpp b/Participant.cpp index 3699e9f..367251e 100644 --- a/Participant.cpp +++ b/Participant.cpp @@ -187,7 +187,7 @@ bool Participant::Publish(IMessage *msg) { void Participant::ReceiveData(unsigned char bufferSize, Participant *remoteParticipant) { unsigned char msgId = this->buffer[0]; - std::cout << "receive msg " << (int)msgId << "\n"; + // std::cout << "receive msg " << (int)msgId << "\n"; switch (msgId) { case ClientMsg::id: { ClientMsg *msg = new ClientMsg(this->buffer); @@ -283,8 +283,8 @@ Thing *Participant::Get(unsigned char networkId, unsigned char thingId) { std::cout << "Get " << (int)networkId << "/" << (int)thingId << " from " << this->things.size() << " things\n"; for (auto &thing : this->things) { - std::cout << " ? " << (int)thing->networkId << "/" << (int)thing->id - << "\n"; + // std::cout << " ? " << (int)thing->networkId << "/" << (int)thing->id + // << "\n"; if (thing->networkId == networkId && thing->id == thingId) { return thing; } diff --git a/UdpPosix.cpp b/UdpPosix.cpp index a17b27d..a8a18af 100644 --- a/UdpPosix.cpp +++ b/UdpPosix.cpp @@ -89,7 +89,7 @@ void UdpPosix::Receive() { } ReceiveData(packetSize, remoteParticipant); - std::cout << "Received data\n"; + // std::cout << "Received data\n"; } #endif }