notandy/ympd

IPv6 Support

Closed this issue · 2 comments

ympd doesn't seem to support IPv6:

 $ ympd -w 8080 &
 MPD Connecting to 127.0.0.1:6600
 MPD connected.
 $ netstat -an | grep 8080
 tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN

I would have expected to see an additional line like this:

tcp6       0      0 :::8080                 :::*                    LISTEN

mpd, by the way, supports IPv6 fine.

The "framework" ympd uses (mongoose) has ipv6 support. You could try compiling with the MONGOOSE_USE_IPV6 option.

Hi, ipv6 is now default on, usable with the -w option flag: ympd -w "[::1]:8080"