# New Ticket Created by  Rob Hoelz 
# Please include the string:  [perl #123282]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123282 >


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.

Reply via email to