Closed mbsmith closed 7 years ago
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.
I've added support for txt records, in both publishing and discovery. Discovery inserts multiple name/value pairs into QMap.
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).