[avahi] How to resolve only ipv4 addresses?
José Félix Ontañón
felixonta at gmail.com
Sun Feb 21 04:56:55 PST 2010
2010/2/21 Linus Lüssing <linus.luessing at web.de>
> Hi José,
> I'm not sure if this might work... but did you try PROTO_INET
> instead of PROTO_UNSPEC?
Does it means to replace every PROTO_UNSPEC for PROTO_INET ?
Because ipv6 appears randomly i'll need to try it hard.
Really thank you 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
> > 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
> avahi mailing list
> avahi at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the avahi