>From my own knowledge of sockets (not of Rakudo), I don't see a problem here. You're getting a timeout on an attempt to open a port that you've already opened a socket on, which should fail in any language. "connect failed: Operation timed out" sounds appropriate. -y
On Thu, Nov 1, 2012 at 1:02 AM, Robert Stockdale <[email protected]> wrote: > # New Ticket Created by Robert Stockdale > # Please include the string: [perl #115540] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115540 > > > > Hello, > > Per a conversation with tadzik, it seems I've stumbled across a bug in > Rakudo. When attempting to install MuEvent via panda, several tests were > failing. Tadzik recommended I try the following script which apparently > points out some problem with rakudo. I must admit, I don't really understand > the underlying issue. Hopefully this makes sense but please let me know if > any additional information is needed. > > new-host:~ bob$ perl6 ~/test_inet.pl6 > connect failed: Operation timed out > in method initialize at src/gen/CORE.setting:7922 > in method new at src/gen/CORE.setting:7901 > in block at /Users/bob/test_inet.pl6:8 > > new-host:~ bob$ cat ~/test_inet.pl6 > my $l = IO::Socket::INET.new( > :localhost('localhost'), > :localport(6666), > :listen > ); > > my $c1 = IO::Socket::INET.new(:host('localhost'), :port(6666)); > my $c2 = IO::Socket::INET.new(:host('localhost'), :port(6666)); > > say 'alive'; > new-host:~ bob$ > > Here is some information about my environment: > > The machine is running Mountain Lion, 10.8.2. > > new-host:~ bob$ perl6 --version This is perl6 version 2012.09.1 built on > parrot 4.6.0 revision 0 > > Please let me know if you need any additional information about this. > > Thanks, > -Bob
