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

RSDK-4011 Add more mDNS information to dialdbg #61

Merged
merged 5 commits into from
Jul 13, 2023

Conversation

benjirewis
Copy link
Member

@benjirewis benjirewis commented Jul 13, 2023

RSDK-4011.

If mDNS was not used to connect; lists all mDNS responses returned for the current subnet. Also queries candidates with - instead of ..

@benjirewis benjirewis requested a review from stuqdog July 13, 2023 19:00
@benjirewis benjirewis requested a review from a team as a code owner July 13, 2023 19:00
@benjirewis benjirewis requested review from maximpertsov and removed request for a team July 13, 2023 19:00
@@ -121,6 +122,48 @@ async fn dial_webrtc(
}
}

const MDNS_SERVICE_NAME: &'static str = "_rpc._tcp.local";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we're already using values from viam::rpc::dial, can we just use the SERVICE_NAME const from there instead of recreating it here?

@benjirewis benjirewis merged commit bbda108 into viamrobotics:main Jul 13, 2023
@benjirewis benjirewis deleted the more-thorough-mdns branch July 13, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants