[avahi] How to resolve only ipv4 addresses?
Linus Lüssing
linus.luessing at web.de
Sun Feb 21 04:50:45 PST 2010
Hi José,
I'm not sure if this might work... but did you try PROTO_INET
instead of PROTO_UNSPEC?
Cheers, Linus
On Sun, Feb 21, 2010 at 01:18:16PM +0100, José Félix Ontañón wrote:
> Hi everyone!
>
> I'm programming a python app that uses service discovering in what i think,
> it's a very basic way:
>
> http://www.pastebin.com/f17ab27c1
>
> The fact it's that when i call resolve() sometimes an ipv6 address it's
> returned. How can i force to only resolve ipv4 address?
>
> Thanks.
> --
> http://fontanon.org
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
More information about the avahi
mailing list