[Icecast-dev] hostname resolution in libshout

RJ Ryan rryan at mixxx.org
Mon Nov 17 07:55:17 PST 2014

We (Mixxx) have a user who reported an issue with hostname resolution.

Here's the bug report: https://bugs.launchpad.net/mixxx/+bug/1391654

They say their hostname resolves to both ipv4 and ipv6 and they bound
icecast to the ipv4 interfaces.  (I'm not sure why they don't bind to
both). Mixxx cannot connect to icecast presumably because libshout is
resolving and connecting to the ipv6 address.

We do nothing but call shout_set_host with the user-provided host string.

They are requesting that libshout "fall back" on the ipv4 resolution of the
hostname if the ipv6 version fails to connect.

Two questions:
1) Is this intended behavior that isn't working?
2) Is this desired behavior to have within libshout? (i.e. a suitable
feature request)

If either is yes I'll go ahead and file a bug on the Trac. If not I'll keep
this as a feature request for Mixxx.

Best regards,
RJ Ryan (Mixxx developer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20141117/4380df2a/attachment.htm 

More information about the Icecast-dev mailing list