|Subject:||IO::Socket::INET fails to connect if a resource is available over IPv6 and the client is misconfigured to use IPv6|
I have a machine that gets IPv6 router advertisements, but IPv6 isn't correctly routed. When I run the following code: IO::Socket::INET.new(:host<feather.perl6.nl>, :port(3000)) rakudo tries to connect to feather.perl6.nl:3000 over IPv6, which doesn't work. When it doesn't work, it doesn't try IPv4; it just fails. If I specify the socket family: IO::Socket::INET.new(:host<feather.perl6.nl>, :port(3000), :family(2)) # 2 is INET ...the family parameter is not respected. I've disabled IPv6 on the machine for the time being, but I figured that others might run into this situation.