Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: IPV6 Errors with IO::Socket

by poj (Abbot)
on Feb 02, 2017 at 18:25 UTC ( #1180875=note: print w/replies, xml ) Need Help??


in reply to IPV6 Errors with IO::Socket

Is that line number around here in IO::Socket::INET6 - what version do you have ? 2.72 ?

for( my $r=0;$r<@rres;$r+=5 ) { for( my $l=0;$l<@lres;$l+=5) { my $fam_listen = $lres[$l]; next if $rres[$r] != $fam_listen; # must be same famil +y push @flr,[ $fam_listen,$lres[$l+3],$rres[$r+3] ]; } }

poj

Replies are listed 'Best First'.
Re^2: IPV6 Errors with IO::Socket
by jZed (Prior) on Feb 02, 2017 at 23:28 UTC
    I have version 1.31. Line 226 is :
    if ( $fam_listen != $family ) { next LOOP_LRES; }
    $fam_listen is set from the original call for a socket but is apparently sporadically missing on my OS. I can shut up the errors if I add an if($fam_listen) ... but tht would be wrong.
      If you really have version 1.31 then you are running a 15 year old version. In this case you should no longer wonder about problems but upgrade your system. But, a version of 1.31 never occurs in the ChangeLog of IO::Socket::INET6, i.e. it goes straight from 1.28 to 2.00. How did you determine the version of IO::Socket::INET6 (which is not the same as IO::Socket!)?
        Yeah my bad. 1.31 was my IO::Scocket::INET version. My IO::Socket::INET6 is at 2.56. Which apparently isn't the latest. I'll install 2.72 and see if that works better. Although Corion seems to have solved my issue with your advice by telling me how to force INET rather than INET6.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-02-06 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (36 votes). Check out past polls.

    Notices?