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

Added txt support. #8

Closed
wants to merge 1 commit into from
Closed

Added txt support. #8

wants to merge 1 commit into from

Conversation

mbsmith
Copy link

@mbsmith mbsmith commented Mar 6, 2017

A lot of devices I use at work return pretty crucial data in the txt response. It's pretty common so I thought I'd pass along my changes.

It might be nice to cleanup the txt's from both bonjour, and avahi; However I haven't managed to add that yet as I'm currently handling the differences in the caller. (They're pretty minor).

@jbagg jbagg mentioned this pull request Mar 6, 2017
@mbsmith
Copy link
Author

mbsmith commented Mar 7, 2017

Yeah a QHash, or QMap might be better. This just worked in a pinch. I might revisit that myself since the parsing I do in the caller is a bit messy.

@jbagg
Copy link
Owner

jbagg commented Mar 16, 2017

I've added support for txt records, in both publishing and discovery. Discovery inserts multiple name/value pairs into QMap.

@jbagg jbagg closed this Mar 16, 2017
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