sushant.ravale has asked for the wisdom of the Perl Monks concerning the following question:
It is giving output as : Cannot create socket - no address associated with nodename I am using ActiveState perl 5.14.2 and have built IO::Socket::IP module on it. Following is the ping result:use IO::Socket::IP -register; my $sock = IO::Socket->new( Domain => PF_INET6, LocalHost => "::1", Listen => 1, ) or die "Cannot create socket - $@\n"; print "Created a socket of type " . ref($sock) . "\n";
If I use the IPv4 style loopback address 127.0.0.1, the above code works well. I am wondering what I am missing.c:\>ping ::1 Pinging ::1 with 32 bytes of data: Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Reply from ::1: time<1ms Ping statistics for ::1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ipv6 support on windows
by choroba (Cardinal) on Aug 01, 2012 at 10:23 UTC | |
|
Re: ipv6 support on windows
by VinsWorldcom (Prior) on Aug 01, 2012 at 10:58 UTC | |
by VinsWorldcom (Prior) on Aug 01, 2012 at 23:45 UTC | |
by sushant.ravale (Initiate) on Aug 21, 2012 at 10:03 UTC |