Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Spdp directly when we have a new discovered participant #2798

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion dds/DCPS/RTPS/Spdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ Spdp::handle_participant_data(DCPS::MessageId id,
if (from_relay) {
tport_->write_i(guid, iter->second.last_recv_address_, SpdpTransport::SEND_RELAY);
} else {
tport_->shorten_local_sender_delay_i();
tport_->write_i(guid, iter->second.local_address_, SpdpTransport::SEND_DIRECT);
}
}

Expand Down