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

Bugfix: ArgumentNullException on iOS 14.5+ #240

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sergey-berezin
Copy link

ServiceName property was never assigned so host.AddService(svc) throws ArgumentNullException.

@twofingerrightclick
Copy link

twofingerrightclick commented Aug 17, 2022

Thanks for finding this bug. This fixes the exception, but is not the correct ServiceName. There is a lot of different lingo around mDNS stuff, but essentially the ServiceName here should be the full unique name of the service. So like a printer will have _printer._tcp.local. as the service and the full name will be HP1FOO3BAR._printer._tcp.local. I didn't realize you had this request as I didn't see an issue related to it... and I had just created a similar PR #246 or else I would have worked off of yours.

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.

3 participants