What steps will reproduce the problem?
1. download darkice-1.2.tar.gz and compile
2. configure darkice.cfg to use server that has IPv6 address
3. connect to server darkice -c /etc/darkice.cfg
What is the expected output?
To see IPv6 work out of stock. eg, see ipv6 SOURCE connection on icecast2
/var/log/icecast2/access.log
What do you see instead?
Looks that IPv6 is not enabled at all.
darkice -c /etc/darkice.cfg
DarkIce: DarkIce.cpp:1273: can't open connector [0]
I think configure should enable IPv6 by default if host supports it.
If I try force IPv6 manually on, editing src/config.h and adding
#define HAVE_ADDRINFO 1
Then compile fails to errors in TcpSocket.cpp (attachment tcpsocket.cpp.errro).
What version of the product are you using? On what operating system?
- darkice-1.2
- Operating system Ubuntu 13.10 (x86_64)
Please provide any additional information below.
I modefied TcpSocket.cpp and got IPv6 working. My changes in attachment
Tcpsocket.cpp.diff. I am not skilled c/c++ coder so my code modifications needs
review carefully. However, after changing code I am now able to connect
Icecast2 server using IPv6.
Original issue reported on code.google.com by goo...@toimii.fi on 16 Oct 2013 at 6:43
Original issue reported on code.google.com by
goo...@toimii.fi
on 16 Oct 2013 at 6:43Attachments: