Merge commit '66793370d4bd5c4bc8439bf0e02a1f7e99816d03' into RoboidControl
This commit is contained in:
commit
80127e0041
@ -179,6 +179,8 @@ void ParticipantUDP::SendThingInfo(Participant* remoteParticipant,
|
||||
}
|
||||
|
||||
bool ParticipantUDP::Send(Participant* remoteParticipant, IMessage* msg) {
|
||||
// std::cout << "send msg " << (int)this->buffer[0] << " to "
|
||||
// << remoteParticipant->ipAddress << std::endl;
|
||||
int bufferSize = msg->Serialize(this->buffer);
|
||||
if (bufferSize <= 0)
|
||||
return true;
|
||||
@ -228,7 +230,7 @@ void ParticipantUDP::PublishThingInfo(Thing* thing) {
|
||||
}
|
||||
|
||||
bool ParticipantUDP::Publish(IMessage* msg) {
|
||||
std::cout << "publish msg\n";
|
||||
// std::cout << "publish msg\n";
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
Windows::ParticipantUDP* thisWindows =
|
||||
static_cast<Windows::ParticipantUDP*>(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user