[avahi] {foo,bar}.local
jbagg
jbagg at lenbrook.com
Fri Sep 23 12:51:50 UTC 2016
If you want to write minimal code, I suggest you use my Qt / c++ class
that wraps avahi-client
QZeroConf serviceA, serviceB, serviceC;
serviceA.startServicePublish("Service A", "_servicea._tcp", "local", 12345);
serviceB.startServicePublish("Service B", "_serviceb._tcp", "local", 12346);
serviceC.startServicePublish("Service C", "_servicec._tcp", "local",
12347);
https://github.com/jbagg/QtZeroConf
Jon
On 2016-09-22 10:48 PM, Kai Hendry wrote:
> Hi guys,
>
> I'm looking to create several .local addresses that all resolve to my
> own machine so I can host different named Web applications. Especially
> useful for mobile dev from an iPhone.
>
> E.g. https://github.com/kaihendry/myresponder
>
> Could someone please let me know how I can achieve this? Many thanks!
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/avahi
--
Jonathan Bagg
Embedded Systems Developer
NAD Electronics | Lenbrook Industries Limited
633 Granite Court, Pickering, Ontario, Canada L1W 3K1 | 905-831-0799 ext 4478 | http://www.nadelectronics.com
More information about the avahi
mailing list